From b045ad2cf43693798cb4c429eb7d8d8044733425 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Sat, 10 Oct 2015 21:40:00 +0200 Subject: [PATCH] Remove Help in menu.\nNo need --- archfi | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/archfi b/archfi index 4b0d2a2..15e717c 100644 --- a/archfi +++ b/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