mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Enable short option for --plugin and --connection
This is done to make things more consistent with the bake shell
This commit is contained in:
parent
adf73abb07
commit
211146fb7a
1 changed files with 2 additions and 0 deletions
|
@ -444,9 +444,11 @@ class SchemaShell extends Shell {
|
||||||
*/
|
*/
|
||||||
public function getOptionParser() {
|
public function getOptionParser() {
|
||||||
$plugin = array(
|
$plugin = array(
|
||||||
|
'short' => 'p',
|
||||||
'help' => __d('cake_console', 'The plugin to use.'),
|
'help' => __d('cake_console', 'The plugin to use.'),
|
||||||
);
|
);
|
||||||
$connection = array(
|
$connection = array(
|
||||||
|
'short' => 'c',
|
||||||
'help' => __d('cake_console', 'Set the db config to use.'),
|
'help' => __d('cake_console', 'Set the db config to use.'),
|
||||||
'default' => 'default'
|
'default' => 'default'
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue