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+=("$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
|
||||
|
|
Loading…
Reference in a new issue