mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-13 22:06:51 +08:00
Fixes #15988: Fixed bash completion
This commit is contained in:

committed by
Alexander Makarov

parent
da9cb57eac
commit
af24cf9a93
@ -42,7 +42,7 @@ _yii()
|
||||
;;
|
||||
option)
|
||||
# fetch available options from ./yii help/list-action-options command
|
||||
opts=$($yii help/list-action-options $command 2> /dev/null | grep -o '^--[a-zA-Z0-9]*')
|
||||
opts=$($yii help/list-action-options $command 2> /dev/null | grep -o '^--[a-zA-Z0-9\-]*')
|
||||
;;
|
||||
value)
|
||||
# TODO allow normal file completion after an option, e.g. --migrationPath=...
|
||||
|
@ -4,7 +4,7 @@ Yii Framework 2 Change Log
|
||||
2.0.16 under development
|
||||
------------------------
|
||||
|
||||
- no changes in this release.
|
||||
- Bug #15988: Fixed bash completion (alekciy)
|
||||
|
||||
2.0.15.1 March 21, 2018
|
||||
-----------------------
|
||||
|
Reference in New Issue
Block a user