|
@@ -2,7 +2,7 @@
|
|
|
# LGSM fn_getopt function
|
|
# LGSM fn_getopt function
|
|
|
# Author: Daniel Gibbs
|
|
# Author: Daniel Gibbs
|
|
|
# Website: http://gameservermanagers.com
|
|
# Website: http://gameservermanagers.com
|
|
|
-# Version: 060515
|
|
|
|
|
|
|
+# Version: 190515
|
|
|
|
|
|
|
|
# Description: getopt arguments.
|
|
# Description: getopt arguments.
|
|
|
|
|
|
|
@@ -114,6 +114,12 @@ case "$getopt" in
|
|
|
fn_restart;;
|
|
fn_restart;;
|
|
|
update)
|
|
update)
|
|
|
fn_update_check;;
|
|
fn_update_check;;
|
|
|
|
|
+ force-update)
|
|
|
|
|
+ forceupdate=1;
|
|
|
|
|
+ fn_update_check;;
|
|
|
|
|
+ update-restart)
|
|
|
|
|
+ forceupdate=1;
|
|
|
|
|
+ fn_update_check;;
|
|
|
validate)
|
|
validate)
|
|
|
fn_validate;;
|
|
fn_validate;;
|
|
|
monitor)
|
|
monitor)
|