Skip to content

Commit

Permalink
Correct outdated compatibility statements.
Browse files Browse the repository at this point in the history
  • Loading branch information
01mf02 committed Nov 28, 2024
1 parent 8c62801 commit ba07eae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
19 changes: 0 additions & 19 deletions docs/content/manual/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,6 @@ using some command-line options:

Like `-r` but jq won't print a newline after each output.

::: Compatibility
In jaq, this does not enable `--raw-output`.
:::

* `--ascii-output` / `-a`:

jq usually outputs non-ASCII Unicode codepoints as UTF-8, even
Expand All @@ -238,13 +234,6 @@ using some command-line options:

::: Compatibility
gojq always sorts the fields of objects by their keys, so it does not support this option.

jaq does not support this option.
However, you can sort all output objects by their keys using a filter such as:

~~~
walk(if . >= {} then reduce (keys[] as $k | { ($k): .[$k] }) as $o ({}; . + $o) end)
~~~
:::

* `--color-output` / `-C` and `--monochrome-output` / `-M`:
Expand All @@ -257,10 +246,6 @@ using some command-line options:

Colors can be configured with [the `JQ_COLORS` environment variable](#colors).

::: Compatibility
In jaq, the corresponding options are called `--color=always` and `--color=never`.
:::

* `--tab`:

Use a tab for each indentation level instead of two spaces.
Expand Down Expand Up @@ -343,10 +328,6 @@ using some command-line options:
Remaining arguments are positional string arguments. These are
available to the jq program as `$ARGS.positional[]`.

::: Compatibility
jaq does not support this option.
:::

* `--jsonargs`:

Remaining arguments are positional JSON text arguments. These
Expand Down
17 changes: 0 additions & 17 deletions jq.1.prebuilt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ba07eae

Please sign in to comment.