Browse Source

Merge pull request #332 from rchavik/schema-shell

Enable short option for --plugin and --connection
José Lorenzo Rodríguez 14 years ago
parent
commit
7e790aa6cb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/Cake/Console/Command/SchemaShell.php

+ 2 - 0
lib/Cake/Console/Command/SchemaShell.php

@@ -444,9 +444,11 @@ class SchemaShell extends Shell {
  */
 	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'
 		);