From 5a41ee214ee1d3968181e34a5670a19fae662d8e Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Fri, 30 Oct 2015 17:28:14 +0000 Subject: [PATCH] updated the getopt for gmod --- functions/fn_getopt | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/functions/fn_getopt b/functions/fn_getopt index c33a8ca0c..8717ec8be 100644 --- a/functions/fn_getopt +++ b/functions/fn_getopt @@ -2,7 +2,7 @@ # LGSM fn_getopt function # Author: Daniel Gibbs # Website: http://gameservermanagers.com -# Version: 200615 +# Version: 301015 # Description: getopt arguments. @@ -123,6 +123,14 @@ case "$getopt" in fn_restart;; update) fn_update_check;; + force-update) + forceupdate=1; + fn_update_check;; + update-restart) + forceupdate=1; + fn_update_check;; + update-functions) + fn_update_functions;; validate) fn_validate;; monitor) @@ -143,8 +151,10 @@ case "$getopt" in fn_autoinstall;; content) fn_content_gmod;; + depsdetect) + fn_deps_detect;; *) - echo "Usage: $0 {start|stop|restart|update|validate|monitor|email-test|details|backup|console|debug|install|auto-install|content}" + echo "Usage: $0 {start|stop|restart|update|force-update|update-functions|validate|monitor|email-test|details|backup|console|debug|install|auto-install|content}" exit 1;; esac exit