4
0
Эх сурвалжийг харах

fix(parse-details): change heading of output & add hint for creating new variables (#4531)

* Added hint for new variables

* Fixed heading of output
MicLieg 2 жил өмнө
parent
commit
57ebe20635

+ 2 - 2
lgsm/modules/command_dev_parse_game_details.sh

@@ -144,7 +144,7 @@ done
 # Sort and output the available distro details.
 if [ -n "$available_details" ]; then
 	echo -e ""
-    echo -e "${bold}${lightgreen}Available Distro Details${default}"
+    echo -e "${bold}${lightgreen}Available Gameserver Details${default}"
     fn_messages_separator
     echo -e "${available_details}" | sort
 fi
@@ -152,7 +152,7 @@ fi
 # Output the missing server details if there are any.
 if [ -n "$missing_details" ]; then
 	echo -e ""
-	echo -e "${lightgreen}Missing or unsupported Server Details${default}"
+	echo -e "${lightgreen}Missing or unsupported Gameserver Details${default}"
 	fn_messages_separator
 	echo -e "${missing_details}" | sort
 fi

+ 1 - 0
lgsm/modules/info_distro.sh

@@ -5,6 +5,7 @@
 # Website: https://linuxgsm.com
 # Description: Variables providing useful info on the Operating System such as disk and performace info.
 # Used for command_details.sh, command_debug.sh and alert.sh.
+# !Note: When adding variables to this script, ensure that they are also added to the command_dev_parse_distro_details.sh script.
 
 moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
 

+ 1 - 0
lgsm/modules/info_game.sh

@@ -4,6 +4,7 @@
 # Contributors: http://linuxgsm.com/contrib
 # Website: https://linuxgsm.com
 # Description: Gathers various game server information.
+# !Note: When adding variables to this script, ensure that they are also added to the command_dev_parse_game_details.sh script.
 
 # shellcheck disable=SC2317
 moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"