mirror of
https://github.com/wader/fq.git
synced 2024-12-23 13:22:58 +03:00
interp: Add line between usage and args help
This commit is contained in:
parent
4104a18697
commit
0d693aa59e
@ -83,6 +83,7 @@ Tool, language and format decoders for exploring binary data.
|
||||
For more information see https://github.com/wader/fq
|
||||
|
||||
Usage: fq [OPTIONS] [--] [EXPR] [FILE...]
|
||||
|
||||
--arg NAME VALUE Set variable $NAME to string VALUE
|
||||
--argjson NAME JSON Set variable $NAME to JSON
|
||||
--color-output,-C Force color output
|
||||
|
@ -402,6 +402,7 @@ def _main:
|
||||
( _banner
|
||||
, ""
|
||||
, _usage($arg0)
|
||||
, ""
|
||||
, args_help_text(_opts)
|
||||
) | println
|
||||
elif $opts.show_version then
|
||||
|
1
pkg/interp/testdata/args.fqtest
vendored
1
pkg/interp/testdata/args.fqtest
vendored
@ -8,6 +8,7 @@ Tool, language and format decoders for exploring binary data.
|
||||
For more information see https://github.com/wader/fq
|
||||
|
||||
Usage: fq [OPTIONS] [--] [EXPR] [FILE...]
|
||||
|
||||
--arg NAME VALUE Set variable $NAME to string VALUE
|
||||
--argjson NAME JSON Set variable $NAME to JSON
|
||||
--color-output,-C Force color output
|
||||
|
Loading…
Reference in New Issue
Block a user