@@ -1402,8 +1402,9 @@ public function printPHPCSUsage()
1402
1402
echo ' e.g., module/php,es/js ' .PHP_EOL ;
1403
1403
echo ' <file> One or more files and/or directories to check ' .PHP_EOL ;
1404
1404
echo ' <fileList> A file containing a list of files and/or directories to check (one per line) ' .PHP_EOL ;
1405
- echo ' <filter> Use the "gitmodified" filter, or specify the path to a custom filter class ' .PHP_EOL ;
1406
- echo ' <generator> Uses either the "HTML", "Markdown" or "Text" generator ' .PHP_EOL ;
1405
+ echo ' <filter> Use either the "gitmodified" or "gitstaged" filter, ' .PHP_EOL ;
1406
+ echo ' or specify the path to a custom filter class ' .PHP_EOL ;
1407
+ echo ' <generator> Use either the "HTML", "Markdown" or "Text" generator ' .PHP_EOL ;
1407
1408
echo ' (forces documentation generation instead of checking) ' .PHP_EOL ;
1408
1409
echo ' <patterns> A comma separated list of patterns to ignore files and directories ' .PHP_EOL ;
1409
1410
echo ' <processes> How many files should be checked simultaneously (default is 1) ' .PHP_EOL ;
@@ -1463,7 +1464,8 @@ public function printPHPCBFUsage()
1463
1464
echo ' e.g., module/php,es/js ' .PHP_EOL ;
1464
1465
echo ' <file> One or more files and/or directories to fix ' .PHP_EOL ;
1465
1466
echo ' <fileList> A file containing a list of files and/or directories to fix (one per line) ' .PHP_EOL ;
1466
- echo ' <filter> Use the "gitmodified" filter, or specify the path to a custom filter class ' .PHP_EOL ;
1467
+ echo ' <filter> Use either the "gitmodified" or "gitstaged" filter, ' .PHP_EOL ;
1468
+ echo ' or specify the path to a custom filter class ' .PHP_EOL ;
1467
1469
echo ' <patterns> A comma separated list of patterns to ignore files and directories ' .PHP_EOL ;
1468
1470
echo ' <processes> How many files should be fixed simultaneously (default is 1) ' .PHP_EOL ;
1469
1471
echo ' <severity> The minimum severity required to fix an error or warning ' .PHP_EOL ;
0 commit comments