File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -68,13 +68,13 @@ Options:
68
68
69
69
-h, --help Show this help message and exit.
70
70
-v, --VERSION Show the VERSION and exit.
71
- -k, --keys The keys to use to generate the files . (Required)
71
+ -k, --keys Space delimited list of keys to extract from the JSON output . (Required)
72
72
-o, --outputs The JSON output to use. (Required)
73
73
-d, --directory The directory to output the files to. (Required)
74
74
-e, --extension The extension to use for the files. (Optional, defaults to txt)
75
75
76
76
Example:
77
- json2file --keys=foo, bar --outputs=" {\" foo\" : \" value1\" , \" bar\" : \" value2\" }" --directory=/tmp --extension=txt
77
+ json2file --keys=" foo bar" --outputs=" {\" foo\" : \" value1\" , \" bar\" : \" value2\" }" --directory=/tmp --extension=txt
78
78
```
79
79
80
80
* Free software: [ MIT license] ( LICENSE )
Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ fn main() {
257
257
println ! ( "Options:\n " ) ;
258
258
println ! ( "-h, --help\t \t Show this help message and exit." ) ;
259
259
println ! ( "-v, --VERSION\t \t Show the VERSION and exit." ) ;
260
- println ! ( "-k, --keys\t \t The keys to use to generate the files . (Required)" ) ;
260
+ println ! ( "-k, --keys\t \t Space delimited list of keys to extract from the JSON output . (Required)" ) ;
261
261
println ! ( "-o, --outputs\t \t The JSON output to use. (Required)" ) ;
262
262
println ! ( "-d, --directory\t \t The directory to output the files to. (Required)" ) ;
263
263
println ! (
You can’t perform that action at this time.
0 commit comments