diff --git a/lib/rubocop/options.rb b/lib/rubocop/options.rb index 281a5f70956..bb11ba22672 100644 --- a/lib/rubocop/options.rb +++ b/lib/rubocop/options.rb @@ -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.'], diff --git a/spec/rubocop/options_spec.rb b/spec/rubocop/options_spec.rb index 8290c1be1f9..0771031e5d5 100644 --- a/spec/rubocop/options_spec.rb +++ b/spec/rubocop/options_spec.rb @@ -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