Update help_info_menu.sh

This commit is contained in:
MacRimi 2025-05-04 23:53:55 +02:00
parent e8c60e887a
commit 6f1a8a06ad

View File

@ -719,27 +719,28 @@ show_tools_commands() {
# =============================================================== # ===============================================================
# Main Menu # Help and Info Menu
# =============================================================== # ===============================================================
while true; do while true; do
OPTION=$(dialog --stdout \ OPTION=$(dialog --stdout \
--title "$(translate 'Help and Info')" \ --title "$(translate 'Help and Info')" \
--menu "\n$(translate 'Select a category of useful commands:')" 20 70 9 \ --menu "\n$(translate 'Select a category of useful commands:')" 20 70 9 \
1 "$(translate 'Useful System Commands')" \ 1 "$(translate 'Useful System Commands')" \
2 "$(translate 'VM and CT Management Commands')" \ 2 "$(translate 'VM and CT Management Commands')" \
3 "$(translate 'Storage and Disks Commands')" \ 3 "$(translate 'Storage and Disks Commands')" \
4 "$(translate 'Network Commands')" \ 4 "$(translate 'Network Commands')" \
5 "$(translate 'Updates and Packages Commands')" \ 5 "$(translate 'Updates and Packages Commands')" \
6 "$(translate 'GPU Passthrough Commands')" \ 6 "$(translate 'GPU Passthrough Commands')" \
7 "$(translate 'ZFS Management Commands')" \ 7 "$(translate 'ZFS Management Commands')" \
8 "$(translate 'Backup and Restore Commands')" \ 8 "$(translate 'Backup and Restore Commands')" \
9 "$(translate 'System CLI Tools')" \ 9 "$(translate 'System CLI Tools')" \
0 "$(translate 'Exit')") 0 "$(translate 'Exit')")
EXIT_STATUS=$?
if [[ -z "$OPTION" ]]; then if [[ $EXIT_STATUS -ne 0 ]]; then
clear
break continue
fi fi
case $OPTION in case $OPTION in
@ -760,3 +761,4 @@ OPTION=$(dialog --stdout \
esac esac
done done