Skip to content

Commit 646b6ce

Browse files
simonsanjrfnl
authored andcommitted
Config: fix filter argument case in help texts (#3879)
The filter names are case-sensitive (depending on OS), so the help texts should display the case which will be accepted on all OS-es.
1 parent d3ef240 commit 646b6ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ public function printPHPCSUsage()
13821382
echo ' e.g., php,inc,module'.PHP_EOL;
13831383
echo ' <file> One or more files and/or directories to check'.PHP_EOL;
13841384
echo ' <fileList> A file containing a list of files and/or directories to check (one per line)'.PHP_EOL;
1385-
echo ' <filter> Use either the "gitmodified" or "gitstaged" filter,'.PHP_EOL;
1385+
echo ' <filter> Use either the "GitModified" or "GitStaged" filter,'.PHP_EOL;
13861386
echo ' or specify the path to a custom filter class'.PHP_EOL;
13871387
echo ' <generator> Use either the "HTML", "Markdown" or "Text" generator'.PHP_EOL;
13881388
echo ' (forces documentation generation instead of checking)'.PHP_EOL;
@@ -1443,7 +1443,7 @@ public function printPHPCBFUsage()
14431443
echo ' e.g., php,inc,module'.PHP_EOL;
14441444
echo ' <file> One or more files and/or directories to fix'.PHP_EOL;
14451445
echo ' <fileList> A file containing a list of files and/or directories to fix (one per line)'.PHP_EOL;
1446-
echo ' <filter> Use either the "gitmodified" or "gitstaged" filter,'.PHP_EOL;
1446+
echo ' <filter> Use either the "GitModified" or "GitStaged" filter,'.PHP_EOL;
14471447
echo ' or specify the path to a custom filter class'.PHP_EOL;
14481448
echo ' <patterns> A comma separated list of patterns to ignore files and directories'.PHP_EOL;
14491449
echo ' <processes> How many files should be fixed simultaneously (default is 1)'.PHP_EOL;

0 commit comments

Comments
 (0)