mirror of
https://github.com/wader/fq.git
synced 2024-12-24 13:52:02 +03:00
interp,doc: Add -R raw string slurp hint to -s help
This commit is contained in:
parent
75a6873508
commit
4eae7ffd99
@ -470,7 +470,7 @@ def _opt_cli_opts:
|
||||
"slurp": {
|
||||
short: "-s",
|
||||
long: "--slurp",
|
||||
description: "Read (slurp) all inputs into an array",
|
||||
description: "Slurp all inputs into an array or string (-Rs)",
|
||||
bool: true
|
||||
},
|
||||
"show_version": {
|
||||
|
2
pkg/interp/testdata/args.fqtest
vendored
2
pkg/interp/testdata/args.fqtest
vendored
@ -35,7 +35,7 @@ Example usages:
|
||||
--raw-input,-R Read raw input strings (don't decode)
|
||||
--raw-output,-r Raw string output (without quotes)
|
||||
--repl,-i Interactive REPL
|
||||
--slurp,-s Read (slurp) all inputs into an array
|
||||
--slurp,-s Slurp all inputs into an array or string (-Rs)
|
||||
--version,-v Show version
|
||||
$ fq -i
|
||||
null> ^D
|
||||
|
Loading…
Reference in New Issue
Block a user