From 225d2bb1b3758ae05cdda5e0f09c1c4659692edb Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sun, 3 Feb 2013 09:52:10 -0500 Subject: [PATCH] help cleanup --- framework/console/controllers/HelpController.php | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/framework/console/controllers/HelpController.php b/framework/console/controllers/HelpController.php index 2d86285..d2e50b8 100644 --- a/framework/console/controllers/HelpController.php +++ b/framework/console/controllers/HelpController.php @@ -178,14 +178,10 @@ class HelpController extends Controller echo "\nSUB-COMMANDS\n\n"; $prefix = $controller->getUniqueId(); foreach ($actions as $action) { - if ($controller->defaultAction === $action) { - echo " * $prefix/$action (or $prefix)\n"; - } else { - echo " * $prefix/$action\n"; - } + echo "* $prefix/$action\n"; } - echo "\nTo see the help of each sub-command, enter:\n"; - echo "\n yiic help \n\n"; + echo "\n\nTo see the help of each sub-command, enter:\n"; + echo "\n yiic help \n\n"; } }