From: mlichvar Date: Wed, 31 Jan 2007 13:58:53 +0000 (+0000) Subject: - provide option to change text of buttons (#126768) X-Git-Tag: r0-52-5~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a612632ea054682ae24aa5294f5836e5916259d;p=thirdparty%2Fnewt.git - provide option to change text of buttons (#126768) --- diff --git a/whiptail.1 b/whiptail.1 index f0f4e8c..c29dda8 100644 --- a/whiptail.1 +++ b/whiptail.1 @@ -28,6 +28,22 @@ whiptail \- display dialog boxes from shell scripts .B \-\-nocancel ] [ +.B \-\-yes\-button +.I text +] +[ +.B \-\-no\-button +.I text +] +[ +.B \-\-ok\-button +.I text +] +[ +.B \-\-cancel\-button +.I text +] +[ .B \-\-noitem [ ] @@ -67,7 +83,7 @@ an alternate screen. The dialog box will open with the cursor over the .BR No " button." .TP -.B \-\-default\-item "string" +.BI \-\-default\-item " string" Set the default item in a menu box. Normally the first item in the box is the default. .TP @@ -80,6 +96,22 @@ uses compact buttons). The dialog box won't have a .BR Cancel " button". .TP +.BI \-\-yes\-button " text" +Set the text of the +.BR Yes " button." +.TP +.BI \-\-no\-button " text" +Set the text of the +.BR No " button." +.TP +.BI \-\-ok\-button " text" +Set the text of the +.BR Ok " button." +.TP +.BI \-\-cancel\-button " text" +Set the text of the +.BR Cancel " button." +.TP .B \-\-noitem The menu, checklist and radiolist widgets will display tags only, not the item strings.