Skip to content

Commit

Permalink
Update copy of --help output in README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Aug 28, 2022
1 parent cc05d1d commit 2acce16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,10 @@ The following `command line arguments`_ can also be used to modify the defaults:
Force complete reformatted output to stdout, instead of in-place. Only valid if
there's just one file to reformat. Highlight syntax if on a terminal and the
``pygments`` package is available, or if enabled by configuration.
--stdin-filename PATH
The path to the file when passing it through stdin. Useful so Darker can find the
previous version from Git. Only valid with ``--revision=<rev1>..`` (which implies
``:WORKTREE:`` as the default for ``rev2``).
--check
Don't write the files back, just return the status. Return code 0 means nothing
would change. Return code 1 means some files would be reformatted.
Expand Down

0 comments on commit 2acce16

Please sign in to comment.