mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 14:57:23 +08:00
yiic => yii additional corrections
This commit is contained in:
@@ -25,7 +25,7 @@ use yii\helpers\StringHelper;
|
||||
* This command can be used as follows on command line:
|
||||
*
|
||||
* ~~~
|
||||
* yiic help [command name]
|
||||
* yii help [command name]
|
||||
* ~~~
|
||||
*
|
||||
* In the above, if the command name is not provided, all
|
||||
@@ -41,8 +41,8 @@ class HelpController extends Controller
|
||||
* about a particular command. For example,
|
||||
*
|
||||
* ~~~
|
||||
* yiic help # list available commands
|
||||
* yiic help message # display help info about "message"
|
||||
* yii help # list available commands
|
||||
* yii help message # display help info about "message"
|
||||
* ~~~
|
||||
*
|
||||
* @param string $command The name of the command to show help about.
|
||||
@@ -148,7 +148,7 @@ class HelpController extends Controller
|
||||
echo "* $command\n";
|
||||
}
|
||||
echo "\nTo see the help of each command, enter:\n";
|
||||
echo "\n yiic help <command-name>\n\n";
|
||||
echo "\n yii help <command-name>\n\n";
|
||||
} else {
|
||||
echo "\nNo commands are found.\n";
|
||||
}
|
||||
@@ -188,7 +188,7 @@ class HelpController extends Controller
|
||||
echo "\n";
|
||||
}
|
||||
echo "\n\nTo see the detailed information about individual sub-commands, enter:\n";
|
||||
echo "\n yiic help <sub-command>\n\n";
|
||||
echo "\n yii help <sub-command>\n\n";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -259,9 +259,9 @@ class HelpController extends Controller
|
||||
|
||||
echo "\nUSAGE\n\n";
|
||||
if ($action->id === $controller->defaultAction) {
|
||||
echo 'yiic ' . $controller->getUniqueId();
|
||||
echo 'yii ' . $controller->getUniqueId();
|
||||
} else {
|
||||
echo "yiic " . $action->getUniqueId();
|
||||
echo "yii " . $action->getUniqueId();
|
||||
}
|
||||
list ($required, $optional) = $this->getArgHelps($method, isset($tags['param']) ? $tags['param'] : array());
|
||||
if (!empty($required)) {
|
||||
|
||||
Reference in New Issue
Block a user