| 22 | .TP |
| 23 | \fB\-d\fR | \fB\-\-destination\fR h[:p] |
| 24 | Sets the destination hostname and optional |
| 25 | port onto which contact the remote PyKotIcon |
| 26 | application. This option is mandatory. |
| 27 | When not specified, the port defaults to 7654. |
| 28 | .TP |
| 29 | \fB\-a\fR | \fB\-\-ask\fR |
| 30 | Tells pknotify to ask something to the end |
| 31 | user. Then pknotify will output the result. |
| 32 | .TP |
| 33 | \fB\-c\fR | \fB\-\-confirm\fR |
| 34 | Tells pknotify to ask for either a confirmation |
| 35 | or abortion. |
| 36 | .TP |
| 37 | \fB\-n\fR | \fB\-\-notify\fR |
| 38 | Tells pknotify to send an informational message |
| 39 | message to the end user. |
| 40 | .TP |
| 41 | \fB\-q\fR | \fB\-\-quit\fR |
| 42 | Tells pknotify to send a message asking the |
| 43 | PyKotIcon application to exit. This option can |
| 44 | be combined with the other ones to make PyKotIcon |
| 45 | exit after having sent the answer from the dialog. |
| 46 | .IP |
| 47 | You MUST specify either \fB\-\-ask\fR, \fB\-\-confirm\fR, \fB\-\-notify\fR or \fB\-\-quit\fR. |
| 48 | .IP |
| 49 | arguments : |
| 50 | .HP |
| 51 | \fB\-a\fR | \fB\-\-ask\fR : Several arguments are accepted, or the form |
| 52 | .IP |
| 53 | "label:varname:defaultvalue". The result will |
| 54 | be printed to stdout in the following format : |
| 55 | VAR1NAME=VAR1VALUE |
| 56 | VAR2NAME=VAR2VALUE |
| 57 | \&... |
| 58 | If the dialog was cancelled, nothing will be |
| 59 | printed. If one of the varname is 'password' |
| 60 | then this field is asked as a password (you won't |
| 61 | see what you type in). |
| 62 | .TP |
| 63 | \fB\-c\fR | \fB\-\-confirm\fR : A single argument is expected, representing the |
| 64 | message to display. If the dialog is confirmed |
| 65 | then pknotify will print OK, else CANCEL. |
| 66 | .TP |
| 67 | \fB\-n\fR | \fB\-\-notify\fR : A single argument is expected, representing the |
| 68 | message to display. In this case pknotify will |
| 69 | always print OK. |
| 70 | .PP |
| 71 | examples : |
| 72 | .IP |
| 73 | pknotify \fB\-d\fR client:7654 \fB\-\-confirm\fR "This job costs : |
| 74 | .PP |
| 75 | 10 credits !" |
| 76 | .IP |
| 77 | would display the cost of a print job and asks for confirmation. |