Fixes #15988: Fixed bash completion

This commit is contained in:
Сундуков Алексей
2018-03-27 14:10:43 +04:00
committed by Alexander Makarov
parent da9cb57eac
commit af24cf9a93
2 changed files with 2 additions and 2 deletions

View File

@ -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=...

View File

@ -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
-----------------------