|
|
@ -178,13 +178,9 @@ class HelpController extends Controller |
|
|
|
echo "\nSUB-COMMANDS\n\n"; |
|
|
|
echo "\nSUB-COMMANDS\n\n"; |
|
|
|
$prefix = $controller->getUniqueId(); |
|
|
|
$prefix = $controller->getUniqueId(); |
|
|
|
foreach ($actions as $action) { |
|
|
|
foreach ($actions as $action) { |
|
|
|
if ($controller->defaultAction === $action) { |
|
|
|
|
|
|
|
echo " * $prefix/$action (or $prefix)\n"; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
echo "* $prefix/$action\n"; |
|
|
|
echo "* $prefix/$action\n"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
echo "\n\nTo see the help of each sub-command, enter:\n"; |
|
|
|
echo "\nTo see the help of each sub-command, enter:\n"; |
|
|
|
|
|
|
|
echo "\n yiic help <sub-command>\n\n"; |
|
|
|
echo "\n yiic help <sub-command>\n\n"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|