Skip to content
Permalink
Browse files

blacklist getOptionParser to prevent:

	Console/cake orm_cache<tab>
	build            clear            getOptionParser
  • Loading branch information...
AD7six committed Aug 24, 2014
1 parent 3451bf4 commit 82532ad3c1b69bfd75fbec212f7f9a92a110bcc6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Console/Command/Task/CommandTask.php
@@ -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'];

0 comments on commit 82532ad

Please sign in to comment.
You can’t perform that action at this time.