-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
| (-h | --help) "show this help message and exit" | ||
| --yaml-output, "--yml-output, -y" | ||
| --yaml-roundtrip, "--yml-roundtrip, -Y" | ||
| --yaml-output-grammar-version "{1.1,1.2}, --yml-out-ver {1.1,1.2}" | ||
| --width "WIDTH, -w WIDTH" | ||
| --indentless-lists, "--indentless" | ||
| --explicit-start "When using --yaml-output, always emit explicit document start ("---")" | ||
| --explicit-end "When using --yaml-output, always emit explicit document end ("...")" | ||
| --in-place, "-i Edit files in place (no backup - use caution)" | ||
| --version "show program's version number and exit" | ||
| (-n | --null-input) "use `null` as the single input value;" | ||
| (-R | --raw-input) "read each line as string instead of JSON;" | ||
| (-s | --slurp) "read all inputs into an array and use it as" | ||
| (-c | --compact-output) "compact instead of pretty-printed output;" | ||
| (-r | --raw-output) "output strings without escapes and quotes;" | ||
| --raw-output0 "implies -r and output NUL after each output;" | ||
| (-j | --join-output) "implies -r and output without newline after" | ||
| (-a | --ascii-output) "output strings by only ASCII characters" | ||
| (-S | --sort-keys) "sort keys of each object on output;" | ||
| (-C | --color-output) "colorize JSON output;" | ||
| (-M | --monochrome-output) "disable colored output;" | ||
| --tab "use tabs for indentation;" | ||
| --indent "n use n spaces for indentation (max 7 spaces);" | ||
| --unbuffered "flush output stream after each output;" | ||
| --stream "parse the input value in streaming fashion;" | ||
| --stream-errors "implies --stream and report parse error as" | ||
| --seq "parse input/output as application/json-seq;" | ||
| (-f | --from-file) "file load filter from the file;" | ||
| -L "directory search modules from the directory;" | ||
| --arg "name value set $name to the string value;" | ||
| --argjson "name value set $name to the JSON value;" | ||
| --slurpfile "name file set $name to an array of JSON values read" | ||
| --rawfile "name file set $name to string contents of file;" | ||
| --args "consume remaining arguments as positional" | ||
| --jsonargs "consume remaining arguments as positional" | ||
| (-e | --exit-status) "set exit status code based on the output;" | ||
| (-V | --version) "show the version;" | ||
| --build-configuration "show jq's build configuration;" | ||
| (-h | --help) "show the help;" | ||
| -- "terminates argument processing;" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters