mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Added bash completion for global stop/restart now options.
This commit is contained in:
parent
2028c06a05
commit
f7a94bc6ef
@ -10,10 +10,17 @@ _msm() {
|
||||
if [[ $COMP_CWORD -gt 1 ]]; then
|
||||
case "$base" in
|
||||
start)
|
||||
# Do nothing there is no more
|
||||
;;
|
||||
stop)
|
||||
if [[ $COMP_CWORD == 2 ]]; then
|
||||
options="now"
|
||||
fi
|
||||
;;
|
||||
restart)
|
||||
if [[ $COMP_CWORD == 2 ]]; then
|
||||
options="now"
|
||||
fi
|
||||
;;
|
||||
server)
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user