Skip to content

Commit

Permalink
Update help
Browse files Browse the repository at this point in the history
  • Loading branch information
nineteendo committed Nov 27, 2024
1 parent 67af3dc commit f403360
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
5 changes: 3 additions & 2 deletions docs/source/cli/jsonyx-diff.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ Usage

.. code-block:: none
jsonyx diff [-h] [-a] [-c] [-C] [-d] [-i SPACES] [-l] [-s] [-S] [-t] [-T]
[-q] old_input_filename [input_filename] [output_filename]
jsonyx diff [-h] [-a] [-c] [-C] [-d] [-i SPACES] [-l] [-L LEVEL] [-s] [-S]
[-t] [-T] [-q] old_input_filename [input_filename]
[output_filename]
Positional arguments
--------------------
Expand Down
4 changes: 2 additions & 2 deletions docs/source/cli/jsonyx-format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ Usage

.. code-block:: none
jsonyx format [-h] [-a] [-c] [-C] [-d] [-i SPACES] [-l] [-s] [-S] [-t] [-T]
[-q] [input_filename] [output_filename]
jsonyx format [-h] [-a] [-c] [-C] [-d] [-i SPACES] [-l] [-L LEVEL] [-s]
[-S] [-t] [-T] [-q] [input_filename] [output_filename]
Positional arguments
--------------------
Expand Down
5 changes: 3 additions & 2 deletions docs/source/cli/jsonyx-patch.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ Usage

.. code-block:: none
jsonyx patch [-h] [-a] [-c] [-C] [-d] [-i SPACES] [-l] [-s] [-S] [-t] [-T]
[-q] patch_filename [input_filename] [output_filename]
jsonyx patch [-h] [-a] [-c] [-C] [-d] [-i SPACES] [-l] [-L LEVEL] [-s]
[-S] [-t] [-T] [-q] patch_filename [input_filename]
[output_filename]
Positional arguments
--------------------
Expand Down
3 changes: 2 additions & 1 deletion src/jsonyx/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ def _configure(parser: ArgumentParser) -> None:
"-i",
"--indent",
type=int,
metavar="SPACES",
help="indent using the specified number of spaces",
metavar="SPACES",
)
parent_parser.add_argument(
"-l",
Expand All @@ -98,6 +98,7 @@ def _configure(parser: ArgumentParser) -> None:
"--max-indent-level",
type=int,
help="the level up to which to indent",
metavar="LEVEL",
)
parent_parser.add_argument(
"-s",
Expand Down

0 comments on commit f403360

Please sign in to comment.