Commit da179e3b by Alexander Makarov

Minor text adjustments

parent d8669124
...@@ -77,8 +77,8 @@ file via the `appconfig` option when executing the command: ...@@ -77,8 +77,8 @@ file via the `appconfig` option when executing the command:
yii <route> --appconfig=path/to/config.php ... yii <route> --appconfig=path/to/config.php ...
``` ```
> Note: When specifying in console commands * as an input argument you should quote as "*", to avoid executing it as a shell command on > **Note**: When using `*` in console don't forget to quote it as `"*"` in order to avoid executing it as a shell
some platforms. > command.
Creating your own console commands Creating your own console commands
...@@ -155,7 +155,7 @@ public function actionIndex() ...@@ -155,7 +155,7 @@ public function actionIndex()
} }
``` ```
There are some predefined console controller constants for this cases like the following: There are some predefined constants you can use:
- Controller::EXIT_CODE_NORMAL; - `Controller::EXIT_CODE_NORMAL` with value of `0`;
- Controller::EXIT_CODE_ERROR. - `Controller::EXIT_CODE_ERROR` with value of `1`.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment