Changed shortcuts for version shows

This commit is contained in:
2020-04-20 11:41:32 +08:00
parent 3a64caadbe
commit 60f06f1beb

View File

@@ -84,7 +84,7 @@ main_menu()
echo -e "--------------------------------------------------"
echo -e "Please Enter Your Choice"
echo -e ""
echo -e "[${yellow}1-$app_num${plain}]:Chose Application ${yellow}q${plain}:Quit ${yellow}d${plain}:Details"
echo -e "[${yellow}1-$app_num${plain}]:Chose Application ${yellow}q${plain}:Quit ${yellow}v${plain}:Version"
echo -e "--------------------------------------------------"
echo -e ""
@@ -112,8 +112,8 @@ main_menu()
q|Q)
exit 0
;;
d|D)
## Show details all of application
v|V)
## Show all version of application
clear
printf "%-25s %-15s %-5s %-10s\n" "Application" "Version" "Size" "LastUpdated"
echo -e "-------------------------------------------------------------------"
@@ -238,10 +238,10 @@ function_menu()
printf "LastUpdated: ${gray}%-19s${plain}\n" $last_updated
echo -e "--------------------------------------------------"
echo -e ""
echo -e "${yellow}1)${plain} Login"
echo -e "${yellow}1)${plain} Simulated login"
echo -e "${yellow}2)${plain} Startup/Restart"
echo -e "${yellow}3)${plain} Shutdown"
echo -e "${yellow}4)${plain} Logging Trace"
echo -e "${yellow}4)${plain} Logging trace"
echo -e ""
echo -e "${yellow}b)${plain} Go back"
echo -e ""