Skip to content

Commit

Permalink
Add --safe command-line flag to Basic Usage
Browse files Browse the repository at this point in the history
This PR adds `--safe` command-line flag to Basic Usage manual.
  • Loading branch information
koic authored and bbatsov committed Mar 1, 2020
1 parent 2bac233 commit 44c4669
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manual/basic_usage.md
Expand Up @@ -137,6 +137,7 @@ Command flag | Description
`-o/--out` | Write output to a file instead of STDOUT.
` --parallel` | Use available CPUs to execute inspection in parallel.
`-r/--require` | Require Ruby file (see [Loading Extensions](extensions.md#loading-extensions)).
` --safe` | Run only safe cops.
` --safe-auto-correct` | Omit cops annotated as "not safe". See [Auto-correct](auto_correct.md).
` --show-cops` | Shows available cops and their configuration.
`-s/--stdin` | Pipe source from STDIN. This is useful for editor integration. Takes one argument, a path, relative to the root of the project. RuboCop will use this path to determine which cops are enabled (via eg. Include/Exclude), and so that certain cops like Naming/FileName can be checked.
Expand Down

0 comments on commit 44c4669

Please sign in to comment.