Remove Help in menu.\nNo need
This commit is contained in:
parent
cd4965653c
commit
b045ad2cf4
1 changed files with 0 additions and 10 deletions
10
archfi
10
archfi
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue