1
1
mirror of https://github.com/wader/fq.git synced 2024-12-24 22:05:31 +03:00

interp,doc: Add -R raw string slurp hint to -s help

This commit is contained in:
Mattias Wadman 2022-07-29 16:37:42 +02:00
parent 75a6873508
commit 4eae7ffd99
3 changed files with 3 additions and 3 deletions

View File

@ -470,7 +470,7 @@ def _opt_cli_opts:
"slurp": { "slurp": {
short: "-s", short: "-s",
long: "--slurp", long: "--slurp",
description: "Read (slurp) all inputs into an array", description: "Slurp all inputs into an array or string (-Rs)",
bool: true bool: true
}, },
"show_version": { "show_version": {

View File

@ -35,7 +35,7 @@ Example usages:
--raw-input,-R Read raw input strings (don't decode) --raw-input,-R Read raw input strings (don't decode)
--raw-output,-r Raw string output (without quotes) --raw-output,-r Raw string output (without quotes)
--repl,-i Interactive REPL --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 --version,-v Show version
$ fq -i $ fq -i
null> ^D null> ^D