Skip to content

Commit 28f0707

Browse files
authored
docs: fix missing "-" on disable rule command and config command (#1557)
1 parent 6c69e72 commit 28f0707

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/configuration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@ comments.
66

77
## CLI flag
88

9-
We can disable a rule using the `-disable-rule` flag.
9+
We can disable a rule using the `--disable-rule` flag.
1010

1111
Example:
1212

1313
Disable the rule `core::0140::lower-snake`:
1414

1515
```sh
16-
api-linter -disable-rule core::0140::lower-snake test.proto
16+
api-linter --disable-rule core::0140::lower-snake test.proto
1717
```
1818

1919
To disable multiple rules, specify the flag multiple times respectively:
2020

2121
```sh
22-
api-linter -disable-rule core::0140::lower-snake -disable-rule core::0131::request-name-field test.proto
22+
api-linter --disable-rule core::0140::lower-snake --disable-rule core::0131::request-name-field test.proto
2323
```
2424

2525
## Configuration file
2626

27-
The linter accepts a configuration file using the `-config` CLI switch.
27+
The linter accepts a configuration file using the `---config` CLI switch.
2828

2929
Examples:
3030

0 commit comments

Comments
 (0)