add server to parameter list

This commit is contained in:
LinuxSquare 2024-04-21 14:30:49 +02:00
parent e91533b93d
commit 7636860185

View file

@ -45,7 +45,7 @@ the terms of the ${LICENSE}"
### ###
OPT_SHORT="hVv" OPT_SHORT="hVv"
OPT_LONG="help,version,verbose,init:,datapack:,start:,stop:,restart:,attach:,reset:,delete:" OPT_LONG="help,version,verbose,init:,datapack:,start:,stop:,restart:,attach:,reset:,delete:,server:"
TEMP=$(getopt -o ${OPT_SHORT} --long ${OPT_LONG} -n $(basename ${0}) -- "$@") TEMP=$(getopt -o ${OPT_SHORT} --long ${OPT_LONG} -n $(basename ${0}) -- "$@")
if [ "$?" != 0 ]; then if [ "$?" != 0 ]; then