Skip to content

Commit 26adfb2

Browse files
authored
docs: fixed reference to old cli argument name in custom formatter docs (#484)
[ci skip]
1 parent f7541e2 commit 26adfb2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/formatters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ See the [Rakefile](https://github.com/MarcGrimme/repo-small-badge/blob/master/Ra
5959

6060
When *rubycritic* is called outside of the structure that has to be **criticized** with just calling the command.
6161
The path to load as well, as the fully qualified classname of the formatter, have to be passed.
62-
This happens with the `--formatter` option followed by the path to require (*requirepath*) a `:` as a separator and the fully qualified *classname*.
62+
This happens with the `--custom-format` option followed by the path to require (*requirepath*) a `:` as a separator and the fully qualified *classname*.
6363
An example could look as follows:
6464

6565
``` shell
6666
gem install my_formatter_gem
67-
rubycritic --formatter my_formatter:MyFormatter
67+
rubycritic --custom-format my_formatter:MyFormatter
6868
```
6969

7070
This will do the same as above.

0 commit comments

Comments
 (0)