Remove Help in menu.\nNo need

This commit is contained in:
MatMoul 2015-10-10 21:40:00 +02:00
parent cd4965653c
commit b045ad2cf4

10
archfi
View file

@ -29,8 +29,6 @@ mainmenu(){
options+=("$txtdiskpartmenu" "")
options+=("$txtselectpartsmenu" "")
options+=("" "")
options+=("$txthelp" "")
options+=("" "")
options+=("$txtreboot" "")
sel=$(whiptail --backtitle "$apptitle" --title "$txtmainmenu" --menu "" --cancel-button "Exit" --default-item "$nextitem" 0 0 0 \
"${options[@]}" \
@ -113,14 +111,6 @@ setkeymap(){
fi
}
help(){
msg=""
msg=$msg"Command arguments :\n"
msg=$msg" -h --help : Show this help message\n"
msg=$msg"\n"
whiptail --backtitle "$apptitle" --title "$txthelp" --msgbox "$msg" 0 0
}
rebootpc(){
if (whiptail --backtitle "$apptitle" --title "$txtreboot" --yesno "$txtreboot ?" --defaultno 0 0) then
clear