Modified --jsonpath help string
This commit is contained in:
parent
2341c751f8
commit
28e6f804bf
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ The compiled executable will be inside the `bin` folder, named `kennson.exe` (re
|
|||
```text
|
||||
-f, --file=<filename> Read JSON from file instead of stdin
|
||||
--input=<json input> Read JSON as parameter instead of stdin
|
||||
--jsonpath=<JSONPath query> Display only the matches of the JSON document (also --path)
|
||||
--jsonpath=<JSONPath query> Display only the matches of the JSON path (also --path)
|
||||
-p, --jsonpointer=<JSON Pointer> Display only the matches of the JSON pointer (also --pointer)
|
||||
-i, --indent Set space indentation level (prefix with t for tab indentation)
|
||||
(defaults to "2")
|
||||
|
|
|
@ -11,7 +11,7 @@ void main(List<String> arguments) {
|
|||
final parser = ArgParser()
|
||||
..addOption('file', abbr: 'f', help: 'Read JSON from file instead of stdin', valueHelp: 'filename')
|
||||
..addOption('input', help: 'Read JSON as parameter instead of stdin', valueHelp: 'json input')
|
||||
..addOption('jsonpath', aliases: ['path'], help: 'Display only the matches of the JSON document', valueHelp: 'JSONPath query')
|
||||
..addOption('jsonpath', aliases: ['path'], help: 'Display only the matches of the JSON path', valueHelp: 'JSONPath query')
|
||||
..addOption('jsonpointer', aliases: ['pointer'], abbr: 'p', help: 'Display only the matches of the JSON pointer', valueHelp: 'JSON Pointer')
|
||||
..addOption('indent', abbr: 'i', help: 'Set space indentation level (prefix with t for tab indentation)', defaultsTo: '2')
|
||||
..addOption('max-depth', abbr: 'd', help: 'Specify maximum nesting before stopping printing');
|
||||
|
|
Loading…
Add table
Reference in a new issue