mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Fixes #17331: Adjusted docs to state that console command option position does not matter [skip ci]
This commit is contained in:

committed by
GitHub

parent
f7ca4932ba
commit
1f3e89d056
@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user