From 55b82d74d8248536a1a35b6d0a33c7f82fc8678f Mon Sep 17 00:00:00 2001 From: "Jason M. Wood" Date: Wed, 14 Jun 2017 09:27:51 -0600 Subject: [PATCH] completion: fix update and add force-update support --- mscs.completion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mscs.completion b/mscs.completion index f0007ce..3078b33 100644 --- a/mscs.completion +++ b/mscs.completion @@ -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]})) ;;