Enable short option for --plugin and --connection

This is done to make things more consistent with the bake shell
This commit is contained in:
Rachman Chavik 2011-11-24 19:29:27 +07:00
parent adf73abb07
commit 211146fb7a

View file

@ -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'
); );