Skip to content
This repository
Browse code

Enable short option for --plugin and --connection

This is done to make things more consistent with the bake shell
  • Loading branch information...
commit 211146fb7a87ae9e9da2d440aeccea54c6a0b9c5 1 parent adf73ab
Rachman Chavik authored November 24, 2011

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  lib/Cake/Console/Command/SchemaShell.php
2  lib/Cake/Console/Command/SchemaShell.php
@@ -444,9 +444,11 @@ protected function _run($contents, $event, &$Schema) {
444 444
  */
445 445
 	public function getOptionParser() {
446 446
 		$plugin = array(
  447
+			'short' => 'p',
447 448
 			'help' => __d('cake_console', 'The plugin to use.'),
448 449
 		);
449 450
 		$connection = array(
  451
+			'short' => 'c',
450 452
 			'help' => __d('cake_console', 'Set the db config to use.'),
451 453
 			'default' => 'default'
452 454
 		);

0 notes on commit 211146f

Please sign in to comment.
Something went wrong with that request. Please try again.