diff options
Diffstat (limited to 'pw.1')
-rw-r--r-- | pw.1 | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -148,7 +148,10 @@ command. The commands are: .IP "\fBq\fP, \fBCtrl-C\fP" -Quit the program. +Quit the program. Must be used multiple times in succession if a quit +count greater than 1 is in effect. (See the +.B -q +option). .IP "\fBl\fP, \fILeft Arrow\fP" Scroll the display to the left. @@ -571,6 +574,18 @@ and staying in the interactive mode. This is useful when the last portion of the input is of interest, and contains long lines that require horizontal scrolling. +.IP "\fB-q\fP \fIinteger\fP" +Install a quit count specified by +.I integer +which must be positive. The quit count determines how many times the +.B q +or +.B Ctrl-C +commands have to be issued in succession before +.I pw +will quit. This is a safeguard against quitting accidentally. The default +is 1: the commands quit immediately. + .IP \fB-E\fP Enable extended regular expressions (EREs). By default, regular expressions processed by |