mirror of
https://github.com/MinecraftServerControl/mscs.git
synced 2024-11-14 22:38:18 -07:00
completion: fix update and add force-update support
This commit is contained in:
parent
7cea2a865b
commit
55b82d74d8
@ -12,7 +12,7 @@ _mscs() {
|
||||
OPTS="
|
||||
backup console create delete disable enable force-restart force-stop list
|
||||
list-backups logrotate map new overviewer remove restart restore-backup
|
||||
broadcast send show start status stop sync update watch usage
|
||||
broadcast send show start status stop sync update force-update watch usage
|
||||
"
|
||||
|
||||
LIST_OPTS="enabled disabled running stopped"
|
||||
@ -30,7 +30,7 @@ _mscs() {
|
||||
COMPREPLY=($(compgen -W "$WORLDS" -- ${COMP_WORDS[COMP_CWORD]}))
|
||||
;;
|
||||
disable|sync|send|watch|logrotate|backup|map|overviewer|\
|
||||
list-backups|restore-backup)
|
||||
list-backups|restore-backup|update|force-update)
|
||||
WORLDS=$(list_worlds enabled)
|
||||
COMPREPLY=($(compgen -W "$WORLDS" -- ${COMP_WORDS[COMP_CWORD]}))
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user