Skip to content

Commit

Permalink
Update CLI flags description
Browse files Browse the repository at this point in the history
To make more clear that one formats and the other one only checks
  • Loading branch information
piegamesde committed May 5, 2023
1 parent 4a05494 commit 13b7904
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ options =
, width =
defaultWidth &=
help (addDefaultHint defaultWidth "Maximum width in characters")
, check = False &= help "Check whether files are formatted"
, check = False &= help "Check whether files are formatted without modifying them"
, quiet = False &= help "Do not report errors"
, verify =
False &=
help
"Check that the output parses and formats the same as the input"
"Apply sanity checks on the output after formatting"
} &=
summary ("nixfmt v" ++ showVersion version) &=
help "Format Nix source code"
Expand Down

0 comments on commit 13b7904

Please sign in to comment.