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+=("$txtdiskpartmenu" "")
options+=("$txtselectpartsmenu" "") options+=("$txtselectpartsmenu" "")
options+=("" "") options+=("" "")
options+=("$txthelp" "")
options+=("" "")
options+=("$txtreboot" "") options+=("$txtreboot" "")
sel=$(whiptail --backtitle "$apptitle" --title "$txtmainmenu" --menu "" --cancel-button "Exit" --default-item "$nextitem" 0 0 0 \ sel=$(whiptail --backtitle "$apptitle" --title "$txtmainmenu" --menu "" --cancel-button "Exit" --default-item "$nextitem" 0 0 0 \
"${options[@]}" \ "${options[@]}" \
@ -113,14 +111,6 @@ setkeymap(){
fi 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(){ rebootpc(){
if (whiptail --backtitle "$apptitle" --title "$txtreboot" --yesno "$txtreboot ?" --defaultno 0 0) then if (whiptail --backtitle "$apptitle" --title "$txtreboot" --yesno "$txtreboot ?" --defaultno 0 0) then
clear clear