Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit eb4056625de58353529dd8004b979de04e60c548 1 parent 058f48f
@markstory markstory authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/Cake/Console/Command/CommandListShell.php
4 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
Please sign in to comment.
Something went wrong with that request. Please try again.