We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a148a8b commit 620bfbdCopy full SHA for 620bfbd
WebFiori/Framework/Cli/Commands/CreateCommand.php
@@ -138,11 +138,11 @@ private function getWhat() {
138
$options['api-test'] = 'Web service test case.';
139
$options['migration'] = 'Database migration.';
140
$options['q'] = 'Quit.';
141
- $what = strtolower($this->getArgValue('--c'));
+ $what = $this->getArgValue('--c');
142
$answer = null;
143
144
if ($what !== null) {
145
- $answer = $options[$what] ?? null;
+ $answer = $options[strtolower($what)] ?? null;
146
147
if ($answer === null) {
148
$this->warning('The argument --c has invalid value.');
0 commit comments