Просмотр исходного кода

Shortened the command name

Shortened form password to use pass
Daniel Gibbs 10 лет назад
Родитель
Сommit
f08f9a5477
3 измененных файлов с 4 добавлено и 4 удалено
  1. 0 0
      functions/command_ts3_server_pass.sh
  2. 1 1
      functions/core_functions.sh
  3. 3 3
      functions/core_getopt.sh

+ 0 - 0
functions/command_ts3_server_password.sh → functions/command_ts3_server_pass.sh


+ 1 - 1
functions/core_functions.sh

@@ -85,7 +85,7 @@ functionfile="${FUNCNAME}"
 fn_runfunction
 }
 
-command_ts3_server_password.sh(){
+command_ts3_server_pass.sh(){
 functionfile="${FUNCNAME}"
 fn_runfunction
 }

+ 3 - 3
functions/core_getopt.sh

@@ -90,8 +90,8 @@ case "$getopt" in
 		command_details.sh;;
 	b|backup)
 		command_backup.sh;;
-        pw|serveradmin-password)
-                command_ts3_server_password.sh;;
+	pw|serveradmin-password)
+		command_ts3_server_pass.sh;;
 	dev|dev-debug)
 		command_dev_debug.sh;;		
 	i|install)
@@ -115,7 +115,7 @@ case "$getopt" in
 		echo -e "\e[34mmonitor\t\e[0mChecks that the server is running."
 		echo -e "\e[34memail-test\t\e[0mSends test monitor email."
 		echo -e "\e[34mdetails\t\e[0mDisplays useful infomation about the server."
-		echo -e "\e[34mserveradmin-password\t\e[0mChanges TS3 server password."
+		echo -e "\e[34mserveradmin-password\t\e[0mChanges TS3 serveradmin password."
 		echo -e "\e[34mbackup\t\e[0mCreate archive of the server."
 		echo -e "\e[34minstall\t\e[0mInstall the server."
 		echo -e "\e[34mauto-install\t\e[0mInstall the server, without prompts."