Permalink
Browse files

Enable short option for --plugin and --connection

This is done to make things more consistent with the bake shell
  • Loading branch information...
1 parent adf73ab commit 211146fb7a87ae9e9da2d440aeccea54c6a0b9c5 @rchavik rchavik committed Nov 24, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/Cake/Console/Command/SchemaShell.php
@@ -444,9 +444,11 @@ protected function _run($contents, $event, &$Schema) {
*/
public function getOptionParser() {
$plugin = array(
+ 'short' => 'p',
'help' => __d('cake_console', 'The plugin to use.'),
);
$connection = array(
+ 'short' => 'c',
'help' => __d('cake_console', 'Set the db config to use.'),
'default' => 'default'
);

0 comments on commit 211146f

Please sign in to comment.