parent
ee1514fc41
commit
c1b7ac5bf0
|
|
@ -49,7 +49,7 @@ _rails() {
|
|||
'(- *)'{-v,--version}'[Show Rails version and quit]'
|
||||
)
|
||||
|
||||
runtime_options=(
|
||||
rails_options=(
|
||||
'(-f --force)'{-f,--force}'[Overwrite files that already exist]'
|
||||
'(-p --pretend)'{-p,--pretend}'[Run but do not make any changes]'
|
||||
'(-q --quiet)'{-q,--quiet}'[Suppress status output]'
|
||||
|
|
@ -59,7 +59,7 @@ _rails() {
|
|||
local ret=1
|
||||
|
||||
_arguments -C \
|
||||
$rails_options \
|
||||
$runtime_options \
|
||||
'1: :_rails_subcommands' \
|
||||
'*:: :->command' && ret=0
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue