diff options
author | Guilherme de S. Pastore <gpastore@src.gnome.org> | 2005-09-21 14:38:02 +0000 |
---|---|---|
committer | Guilherme de S. Pastore <gpastore@src.gnome.org> | 2005-09-21 14:38:02 +0000 |
commit | 51a7c9d3894307af8492bd05cd5958fee09b9026 (patch) | |
tree | db38a370c619b3453d75072b2f8b90d1016f6d0a /data | |
parent | a3fa7022c732d936f62ea41f2130b8b4b362a3d6 (diff) | |
download | zenity-51a7c9d3894307af8492bd05cd5958fee09b9026.tar.gz |
escaped "-"s; they're supposed to be minus signs, not hyphens.
* data/zenity.1: escaped "-"s; they're supposed to be minus signs, not hyphens.
Diffstat (limited to 'data')
-rw-r--r-- | data/zenity.1 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/data/zenity.1 b/data/zenity.1 index 3949899..264febf 100644 --- a/data/zenity.1 +++ b/data/zenity.1 @@ -10,7 +10,7 @@ zenity \- display GTK+ dialogs input. This allows you to present information, and ask for information from the user, from all manner of shell scripts. .PP -For example, \fBzenity --question\fP will return either 0 or 1, +For example, \fBzenity \-\-question\fP will return either 0 or 1, depending on whether the user pressed \fIOK\fP or \fICancel\fP. \fBzenity --entry\fP will output on standard output what the user typed into the text entry field. @@ -221,36 +221,36 @@ Also the standard GTK+ options are accepted. Display a file selector with the title \fISelect a file to remove\fP. The file selected is returned on standard output. .IP -zenity --title="Select a file to remove" --file-selection +zenity \-\-title="Select a file to remove" \-\-file-selection .PP Display a text entry dialog with the title \fISelect Host\fP and the text \fISelect the host you would like to flood-ping\fP. The entered text is returned on standard output. .IP -zenity --title "Select Host" --entry --text "Select the host you would like to flood-ping" +zenity \-\-title "Select Host" \-\-entry \-\-text "Select the host you would like to flood-ping" .PP Display a dialog, asking \fIMicrosoft Windows has been found! Would you like to remove it?\fP. The return code will be 0 (true in shell) if \fIOK\fP is selected, and 1 (false) if \fICancel\fP is selected. .IP -zenity --question --title "Alert" --text "Microsoft Windows has been found! Would you like to remove it?" +zenity \-\-question \-\-title "Alert" \-\-text "Microsoft Windows has been found! Would you like to remove it?" .PP Show the search results in a list dialog with the title \fISearch Results\fP and the text \fIFinding all header files...\fP. .IP -find . -name '*.h' | zenity --title "Search Results" --text "Finding all header files.." --column "Files" +find . \-name '*.h' | zenity \-\-title "Search Results" \-\-text "Finding all header files.." \-\-column "Files" .PP Show an icon in the notification area .IP -zenity --notification --window-icon=update.png --text "System update necessary!" +zenity \-\-notification \-\-window-icon=update.png \-\-text "System update necessary!" .PP Display a weekly shopping list in a check list dialog with \fIApples\fP and \fIOranges\fP pre selected .IP -zenity --list --checklist --column "Buy" --column "Item" TRUE Apples TRUE Oranges FALSE Pears FALSE Toothpaste +zenity \-\-list \-\-checklist \-\-column "Buy" \-\-column "Item" TRUE Apples TRUE Oranges FALSE Pears FALSE Toothpaste .PP Display a progress dialog while searching for all the postscript files in your home directory .P -find `echo $HOME` '*.ps' | zenity --progress --pulsate +find `echo $HOME` '*.ps' | zenity \-\-progress \-\-pulsate .SH AUTHOR \fBZenity\fP was written by Glynn Foster <glynn.foster@sun.com>. .P |