Skip to content

Commit 55b82d7

Browse files
committed
completion: fix update and add force-update support
1 parent 7cea2a8 commit 55b82d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: mscs.completion

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ _mscs() {
1212
OPTS="
1313
backup console create delete disable enable force-restart force-stop list
1414
list-backups logrotate map new overviewer remove restart restore-backup
15-
broadcast send show start status stop sync update watch usage
15+
broadcast send show start status stop sync update force-update watch usage
1616
"
1717

1818
LIST_OPTS="enabled disabled running stopped"
@@ -30,7 +30,7 @@ _mscs() {
3030
COMPREPLY=($(compgen -W "$WORLDS" -- ${COMP_WORDS[COMP_CWORD]}))
3131
;;
3232
disable|sync|send|watch|logrotate|backup|map|overviewer|\
33-
list-backups|restore-backup)
33+
list-backups|restore-backup|update|force-update)
3434
WORLDS=$(list_worlds enabled)
3535
COMPREPLY=($(compgen -W "$WORLDS" -- ${COMP_WORDS[COMP_CWORD]}))
3636
;;

0 commit comments

Comments
 (0)