Skip to content

Commit b6264f9

Browse files
authored
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 a813c38 commit b6264f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Config.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ public function printPHPCSUsage()
14031403
echo ' e.g., module/php,es/js'.PHP_EOL;
14041404
echo ' <file> One or more files and/or directories to check'.PHP_EOL;
14051405
echo ' <fileList> A file containing a list of files and/or directories to check (one per line)'.PHP_EOL;
1406-
echo ' <filter> Use either the "gitmodified" or "gitstaged" filter,'.PHP_EOL;
1406+
echo ' <filter> Use either the "GitModified" or "GitStaged" filter,'.PHP_EOL;
14071407
echo ' or specify the path to a custom filter class'.PHP_EOL;
14081408
echo ' <generator> Use either the "HTML", "Markdown" or "Text" generator'.PHP_EOL;
14091409
echo ' (forces documentation generation instead of checking)'.PHP_EOL;
@@ -1465,7 +1465,7 @@ public function printPHPCBFUsage()
14651465
echo ' e.g., module/php,es/js'.PHP_EOL;
14661466
echo ' <file> One or more files and/or directories to fix'.PHP_EOL;
14671467
echo ' <fileList> A file containing a list of files and/or directories to fix (one per line)'.PHP_EOL;
1468-
echo ' <filter> Use either the "gitmodified" or "gitstaged" filter,'.PHP_EOL;
1468+
echo ' <filter> Use either the "GitModified" or "GitStaged" filter,'.PHP_EOL;
14691469
echo ' or specify the path to a custom filter class'.PHP_EOL;
14701470
echo ' <patterns> A comma separated list of patterns to ignore files and directories'.PHP_EOL;
14711471
echo ' <processes> How many files should be fixed simultaneously (default is 1)'.PHP_EOL;

0 commit comments

Comments
 (0)