Skip to content

Commit

Permalink
Document syntax for multiple cops named in a command-flag
Browse files Browse the repository at this point in the history
  • Loading branch information
dhempy authored and bbatsov committed Sep 27, 2020
1 parent 2a35e98 commit 14ad258
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/modules/ROOT/pages/usage/basic_usage.adoc
Expand Up @@ -121,6 +121,14 @@ For more details check the available command-line options:
$ rubocop -h
----

To specify multiple cops for one flag, separate cops with commas and no spaces:

[source,sh]
----
$ rubocop --only Rails/Blank,Layout/HeredocIndentation,Naming/FileName
----


|===
| Command flag | Description

Expand Down

0 comments on commit 14ad258

Please sign in to comment.