Browse Source

help cleanup

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
225d2bb1b3
  1. 10
      framework/console/controllers/HelpController.php

10
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 <sub-command>\n\n";
echo "\n\nTo see the help of each sub-command, enter:\n";
echo "\n yiic help <sub-command>\n\n";
}
}

Loading…
Cancel
Save