Skip to content

Commit bf37198

Browse files
committed
Correct argument type in CLI
1 parent 39b973d commit bf37198

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/CLI.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Runs plugin check.
1616
: Exclude checks provided as an argument in comma-separated values, e.g. i18n_usage, late_escaping.
1717
Applies after evaluating `--checks`.
1818
19-
[--ignore-codes=<checks>]
19+
[--ignore-codes=<codes>]
2020
: Ignore error codes provided as an argument in comma-separated values.
2121
2222
[--format=<format>]

includes/CLI/Plugin_Check_Command.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function __construct( Plugin_Context $plugin_context ) {
7070
* : Exclude checks provided as an argument in comma-separated values, e.g. i18n_usage, late_escaping.
7171
* Applies after evaluating `--checks`.
7272
*
73-
* [--ignore-codes=<checks>]
73+
* [--ignore-codes=<codes>]
7474
* : Ignore error codes provided as an argument in comma-separated values.
7575
*
7676
* [--format=<format>]

0 commit comments

Comments
 (0)