Skip to content

Commit fdabad6

Browse files
committed
Merge help and --help arms of match expression
1 parent 354d2c8 commit fdabad6

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tools/ddct-src/App.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ private function runCommand(int $argc, array $argv): int
5151
'generate' => $this->generate($argc, $argv),
5252
'generate-all' => $this->generateAll($argc, $argv),
5353
'has-built' => $this->hasBuilt($argc, $argv),
54-
'help' => $this->help($argc, $argv),
55-
'--help' => $this->help($argc, $argv),
54+
'help', '--help' => $this->help($argc, $argv),
5655
'namespace-copy' => $this->namespaceCopy($argc, $argv),
5756
'namespace-echo' => $this->namespaceEcho($argc, $argv),
5857
'namespace-publish' => $this->namespacePublish($argc, $argv),

0 commit comments

Comments
 (0)