Fixes #17331: Adjusted docs to state that console command option position does not matter [skip ci]

This commit is contained in:
Alexander Makarov
2019-05-29 17:36:31 +03:00
committed by GitHub
parent f7ca4932ba
commit 1f3e89d056

View File

@ -36,9 +36,11 @@ Usage <span id="usage"></span>
You execute a console controller action using the following syntax:
```
yii <route> [--option1=value1 --option2=value2 ... argument1 argument2 ...]
yii <route> [--option1=value1 ... argument1 argument2 ... --option2=value2]
```
Options could be specified in any position.
In the above, `<route>` refers to the route to the controller action. The options will populate the class
properties and arguments are the parameters of the action method.