Skip to content

Commit

Permalink
Merge pull request #332 from rchavik/schema-shell
Browse files Browse the repository at this point in the history
Enable short option for --plugin and --connection
  • Loading branch information
lorenzo committed Nov 24, 2011
2 parents adf73ab + 211146f commit 7e790aa
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 7e790aa

Please sign in to comment.