Skip to content

Commit

Permalink
Tweak the --fail-level help text
Browse files Browse the repository at this point in the history
Follow up #10426.

Indent as with `--format` help text.
  • Loading branch information
koic committed Feb 24, 2022
1 parent 924b939 commit 47e0481
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions lib/rubocop/options.rb
Expand Up @@ -468,13 +468,13 @@ module OptionsHelp
'specified --format, or the default format',
'if no format is specified.'],
fail_level: ['Minimum severity for exit with error code.',
'[A] autocorrect',
'[I] info',
'[R] refactor',
'[C] convention',
'[W] warning',
'[E] error',
'[F] fatal'],
' [A] autocorrect',
' [I] info',
' [R] refactor',
' [C] convention',
' [W] warning',
' [E] error',
' [F] fatal'],
display_time: 'Display elapsed time in seconds.',
display_only_failed: ['Only output offense messages. Omit passing',
'cops. Only valid for --format junit.'],
Expand Down
14 changes: 7 additions & 7 deletions spec/rubocop/options_spec.rb
Expand Up @@ -65,13 +65,13 @@ def abs(path)
-P, --[no-]parallel Use available CPUs to execute inspection in
parallel. Default is true.
--fail-level SEVERITY Minimum severity for exit with error code.
[A] autocorrect
[I] info
[R] refactor
[C] convention
[W] warning
[E] error
[F] fatal
[A] autocorrect
[I] info
[R] refactor
[C] convention
[W] warning
[E] error
[F] fatal
Caching:
-C, --cache FLAG Use result caching (FLAG=true) or don't
Expand Down

0 comments on commit 47e0481

Please sign in to comment.