Skip to content

Commit

Permalink
blacklist getOptionParser to prevent:
Browse files Browse the repository at this point in the history
	Console/cake orm_cache<tab>
	build            clear            getOptionParser
  • Loading branch information
AD7six committed Aug 24, 2014
1 parent 3451bf4 commit 82532ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Command/Task/CommandTask.php
Expand Up @@ -138,7 +138,7 @@ public function subCommands($commandName) {
$return = array_keys($taskMap);
$return = array_map('Cake\Utility\Inflector::underscore', $return);

$shellMethodNames = ['main', 'help'];
$shellMethodNames = ['main', 'help', 'getOptionParser'];

$baseClasses = ['Object', 'Shell', 'AppShell'];

Expand Down

0 comments on commit 82532ad

Please sign in to comment.