Add -q flags to shut up errors to capture-pane and show-options, from George

Nachman.
This commit is contained in:
Nicholas Marriott
2013-03-04 09:00:24 +00:00
parent 208881a735
commit 1cb1fb5bd4
3 changed files with 70 additions and 53 deletions

12
tmux.1
View File

@ -1066,7 +1066,7 @@ By default, it uses the format
but a different format may be specified with
.Fl F .
.It Xo Ic capture-pane
.Op Fl aep
.Op Fl aepq
.Op Fl b Ar buffer-index
.Op Fl E Ar end-line
.Op Fl S Ar start-line
@ -1082,6 +1082,9 @@ or a new buffer if omitted.
If
.Fl a
is given, the alternate screen is used, and the history is not accessible.
If no alternate screen exists, an error will be returned unless
.Fl q
is given.
If
.Fl e
is given, the output includes escape sequences for text and background
@ -2952,7 +2955,7 @@ If this option is set, searches will wrap around the end of the pane contents.
The default is on.
.El
.It Xo Ic show-options
.Op Fl gsvw
.Op Fl gqsvw
.Op Fl t Ar target-session | Ar target-window
.Op Ar option
.Xc
@ -2970,6 +2973,11 @@ Global session or window options are listed if
is used.
.Fl v
shows only the option value, not the name.
If
.Fl q
is set, no error will be returned if
.Ar option
is unset.
.It Xo Ic show-window-options
.Op Fl gv
.Op Fl t Ar target-window