aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2018-02-05 09:50:28 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2018-02-05 09:50:28 +0100
commitbf5633ca13382cbc0101b2392c433597b3949679 (patch)
tree760df9bc016924a804fcdb36ec39238ffc8c6c89
parent4529e8364cc43a4703e3b9306943e1179f18d892 (diff)
downloadDevtools-master.zip
Devtools-master.tar.gz
Devtools-master.tar.bz2
feat(bin) Add a help message for `-v`/`--verbose`.HEADmaster
-rw-r--r--Bin/Cs.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/Bin/Cs.php b/Bin/Cs.php
index 01a4fb2..4a3a802 100644
--- a/Bin/Cs.php
+++ b/Bin/Cs.php
@@ -57,9 +57,9 @@ class Cs extends Console\Dispatcher\Kit
protected $options = [
['dry-run', Console\GetOption::NO_ARGUMENT, 'd'],
['diff', Console\GetOption::NO_ARGUMENT, 'D'],
+ ['verbose', Console\GetOption::NO_ARGUMENT, 'v'],
['help', Console\GetOption::NO_ARGUMENT, 'h'],
- ['help', Console\GetOption::NO_ARGUMENT, '?'],
- ['verbose', Console\GetOption::NO_ARGUMENT, 'v']
+ ['help', Console\GetOption::NO_ARGUMENT, '?']
];
@@ -164,6 +164,7 @@ class Cs extends Console\Dispatcher\Kit
$this->makeUsageOptionsList([
'd' => 'Only shows which files would have been modified.',
'D' => 'Produce diff for each file.',
+ 'v' => 'Be verbose.',
'help' => 'This help.'
]), "\n";