You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit syncs the three lists of the supported options:
* The processing of received arguments in the `Application` class.
* The CLI help in the `Settings` class.
* The options shown in the README.
I have verified that:
* The options in all three lists are now in the same order to make future maintenance more straight-forward.
Includes having all functional short options at the top of the lists.
* All options are now shown in the help and the README.
* The descriptions in the help and in the README are complete and largely the same (minus the "further reading" links shown in the README).
Includes:
* Fixing a typo in the help `-asp` vs `--asp`.
* Line length management for the CLI help.
* Minor grammatical improvement.
Fixes 81
Copy file name to clipboardExpand all lines: README.md
+20-19
Original file line number
Diff line number
Diff line change
@@ -67,25 +67,26 @@ It is strongly recommended for existing users of the (unmaintained)
67
67
68
68
## Command line options
69
69
70
-
-`-p <php>` Specify PHP-CGI executable to run (default: 'php').
71
-
-`-s, --short` Set short_open_tag to On (default: Off).
72
-
-`-a, --asp` Set asp_tags to On (default: Off).
73
-
-`-e <ext>` Check only files with selected extensions separated by comma. (default: php,php3,php4,php5,phtml,phpt)
74
-
-`--exclude` Exclude a file or directory. If you want exclude multiple items, use multiple exclude parameters.
75
-
-`-j <num>` Run <num> jobs in parallel (default: 10).
76
-
-`--colors` Force enable colors in console output.
77
-
-`--no-colors` Disable colors in console output.
78
-
-`--no-progress` Disable progress in console output.
79
-
-`--checkstyle` Output results as Checkstyle XML.
80
-
-`--json` Output results as JSON string (requires PHP 5.4).
81
-
-`--gitlab` Output results for the GitLab Code Quality widget (requires PHP 5.4), see more in [Code Quality](https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html) documentation.
82
-
-`--blame` Try to show git blame for row with error.
83
-
-`--git <git>` Path to Git executable to show blame message (default: 'git').
84
-
-`--stdin` Load files and folder to test from standard input.
85
-
-`--ignore-fails` Ignore failed tests.
86
-
-`--syntax-error-callback` File with syntax error callback for ability to modify error, see more in [example](doc/syntax-error-callback.md)
87
-
-`-h, --help` Print this help.
88
-
-`-V, --version` Display this application version.
70
+
-`-p <php>` Specify PHP-CGI executable to run (default: 'php').
71
+
-`-s`, `--short` Set short_open_tag to On (default: Off).
72
+
-`-a`, `--asp` Set asp_tags to On (default: Off).
73
+
-`-e <ext>` Check only files with selected extensions separated by comma. (default: php,php3,php4,php5,phtml,phpt)
74
+
-`-j <num>` Run <num> jobs in parallel (default: 10).
75
+
-`--exclude` Exclude a file or directory. If you want exclude multiple items, use multiple exclude parameters.
76
+
-`--colors` Enable colors in console output. (disables auto detection of color support)
77
+
-`--no-colors` Disable colors in console output.
78
+
-`--no-progress` Disable progress in console output.
79
+
-`--checkstyle` Output results as Checkstyle XML.
80
+
-`--json` Output results as JSON string (requires PHP 5.4).
81
+
-`--gitlab` Output results for the GitLab Code Quality Widget (requires PHP 5.4), see more in [Code Quality](https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html) documentation..
82
+
-`--blame` Try to show git blame for row with error.
83
+
-`--git <git>` Path to Git executable to show blame message (default: 'git').
84
+
-`--stdin` Load files and folder to test from standard input.
85
+
-`--ignore-fails` Ignore failed tests.
86
+
-`--show-deprecated` Show deprecations (default: Off).
87
+
-`--syntax-error-callback` File with syntax error callback for ability to modify error, see more in [example](doc/syntax-error-callback.md).
88
+
-`-h`, `--help` Print this help.
89
+
-`-V`, `--version` Display the application version
0 commit comments