Skip to content

Commit

Permalink
Improve wording for --fix-all-without-prompt documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmengels committed Oct 30, 2024
1 parent de899d2 commit 8e8a32c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 11 deletions.
4 changes: 2 additions & 2 deletions lib/flags.js
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@ const flags = [
description: [
// prettier-ignore
`Same as ${chalk.blueBright('--fix-all')} but fixes are applied without a prompt.`,
'I recommend to commit all changes prior to running with this option and',
'to review the applied changes afterwards.'
'I recommend committing all changes prior to running with this option and',
'reviewing the applied changes afterwards.'
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions test/snapshots/help/default.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ If you wish to use automatic fixing, you can use the following flags:

--fix-all-without-prompt
Same as --fix-all but fixes are applied without a prompt.
I recommend to commit all changes prior to running with this option and
to review the applied changes afterwards.
I recommend committing all changes prior to running with this option and
reviewing the applied changes afterwards.

--fix-limit=N
Limit the number of fixes applied in a single batch to N.
Expand Down
8 changes: 1 addition & 7 deletions test/snapshots/review/config-configuration-error.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
-- ELM-REVIEW ERROR ---------------------------------------- CONFIGURATION ERROR

Some.Rule: This is a configuration error message

These are configuration error details

I found 1 error in 1 file.
I found no errors!

0 comments on commit 8e8a32c

Please sign in to comment.