Skip to content

Commit 6d70c68

Browse files
Improve description of --check-version CLI option
1 parent 361a5de commit 6d70c68

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/TextUI/Help.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ private function elements(): array
265265
['arg' => '-h|--help', 'desc' => 'Prints this usage information'],
266266
['arg' => '--version', 'desc' => 'Prints the version and exits'],
267267
['arg' => '--atleast-version <min>', 'desc' => 'Checks that version is greater than min and exits'],
268-
['arg' => '--check-version', 'desc' => 'Check whether PHPUnit is the latest version'],
268+
['arg' => '--check-version', 'desc' => 'Checks whether PHPUnit is the latest version and exits'],
269269
];
270270

271271
return $elements;

tests/end-to-end/_files/output-cli-help-color.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,6 @@
128128
--version  Prints the version and exits
129129
--atleast-version <min>  Checks that version is greater than min
130130
and exits
131-
--check-version  Check whether PHPUnit is the latest
132-
version
131+
--check-version  Checks whether PHPUnit is the latest
132+
version and exits
133133

tests/end-to-end/_files/output-cli-usage.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ Miscellaneous Options:
101101
-h|--help Prints this usage information
102102
--version Prints the version and exits
103103
--atleast-version <min> Checks that version is greater than min and exits
104-
--check-version Check whether PHPUnit is the latest version
104+
--check-version Checks whether PHPUnit is the latest version and exits

0 commit comments

Comments
 (0)