From da179e3bd4e89806bec72d5948a72421938f5e49 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Sat, 23 Aug 2014 00:42:55 +0400 Subject: [PATCH] Minor text adjustments --- docs/guide/tutorial-console.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/guide/tutorial-console.md b/docs/guide/tutorial-console.md index 019a5f4..6f2132b 100644 --- a/docs/guide/tutorial-console.md +++ b/docs/guide/tutorial-console.md @@ -77,8 +77,8 @@ file via the `appconfig` option when executing the command: yii --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 -some platforms. +> **Note**: When using `*` in console don't forget to quote it as `"*"` in order to avoid executing it as a shell +> command. Creating your own console commands @@ -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_ERROR. +- `Controller::EXIT_CODE_NORMAL` with value of `0`; +- `Controller::EXIT_CODE_ERROR` with value of `1`.