Skip to content

Commit

Permalink
Enable short option for --plugin and --connection
Browse files Browse the repository at this point in the history
This is done to make things more consistent with the bake shell
  • Loading branch information
rchavik committed Nov 24, 2011
1 parent adf73ab commit 211146f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Cake/Console/Command/SchemaShell.php
Expand Up @@ -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'
);
Expand Down

0 comments on commit 211146f

Please sign in to comment.