Permalink
Browse files

Re-add the sort option

Even though it does nothing, it should stick around as providing
it causes the shell to fail.
  • Loading branch information...
1 parent 058f48f commit eb4056625de58353529dd8004b979de04e60c548 @markstory markstory committed Jun 23, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Cake/Console/Command/CommandListShell.php
@@ -161,6 +161,10 @@ protected function _asXml($shellList) {
public function getOptionParser() {
$parser = parent::getOptionParser();
return $parser->description(__d('cake_console', 'Get the list of available shells for this CakePHP application.'))
+ ->addOption('sort', array(
+ 'help' => __d('cake_console', 'Does nothing (deprecated)'),
+ 'boolean' => true
+ ))
->addOption('xml', array(
'help' => __d('cake_console', 'Get the listing as XML.'),
'boolean' => true

0 comments on commit eb40566

Please sign in to comment.