mirror of
https://github.com/wader/fq.git
synced 2024-12-23 13:22:58 +03:00
interp: Clearer help for -d
This commit is contained in:
parent
1b32b42f93
commit
3fafee8559
@ -108,7 +108,7 @@ Usage: fq [OPTIONS] [--] [EXPR] [FILE...]
|
||||
--argjson NAME JSON Set variable $NAME to JSON
|
||||
--color-output,-C Force color output
|
||||
--compact-output,-c Compact output
|
||||
--decode,-d NAME Decode format (probe)
|
||||
--decode,-d NAME Force decode format (probe)
|
||||
--decode-file NAME PATH Set variable $NAME to decode of file
|
||||
--formats Show supported formats
|
||||
--from-file,-f PATH Read EXPR from file
|
||||
|
@ -178,7 +178,7 @@ def _main:
|
||||
"decode_format": {
|
||||
short: "-d",
|
||||
long: "--decode",
|
||||
description: "Decode format (probe)",
|
||||
description: "Force decode format (probe)",
|
||||
string: "NAME"
|
||||
},
|
||||
"decode_file": {
|
||||
|
2
pkg/interp/testdata/args.fqtest
vendored
2
pkg/interp/testdata/args.fqtest
vendored
@ -13,7 +13,7 @@ Usage: fq [OPTIONS] [--] [EXPR] [FILE...]
|
||||
--argjson NAME JSON Set variable $NAME to JSON
|
||||
--color-output,-C Force color output
|
||||
--compact-output,-c Compact output
|
||||
--decode,-d NAME Decode format (probe)
|
||||
--decode,-d NAME Force decode format (probe)
|
||||
--decode-file NAME PATH Set variable $NAME to decode of file
|
||||
--formats Show supported formats
|
||||
--from-file,-f PATH Read EXPR from file
|
||||
|
Loading…
Reference in New Issue
Block a user