]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
- provide option to change text of buttons (#126768)
authormlichvar <mlichvar>
Wed, 31 Jan 2007 13:58:53 +0000 (13:58 +0000)
committermlichvar <mlichvar>
Wed, 31 Jan 2007 13:58:53 +0000 (13:58 +0000)
whiptail.1

index f0f4e8ca3d85a942ae7e4a6de01f0965643a0686..c29dda87c5f32ddf841218b193de74d356af6bc6 100644 (file)
@@ -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.