1
1
mirror of https://github.com/wader/fq.git synced 2024-12-23 21:31:33 +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

@ -283,4 +283,4 @@ Licenses of direct dependencies:
- golang/snappy https://github.com/golang/snappy/blob/master/LICENSE (BSD)
- github.com/BurntSushi/toml https://github.com/BurntSushi/toml/blob/master/COPYING (MIT)
- gopkg.in/yaml.v3 https://github.com/go-yaml/yaml/blob/v3/LICENSE (MIT)
- github.com/creasty/defaults https://github.com/creasty/defaults/blob/master/LICENSE (MIT)
- github.com/creasty/defaults https://github.com/creasty/defaults/blob/master/LICENSE (MIT)

View File

@ -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": {

View File

@ -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