aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-03-04 09:00:24 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-03-04 09:00:24 +0000
commit1cb1fb5bd401cf26568a2dc480a8548af3b43930 (patch)
tree166b13198fc971f7fc65a0a571268854270c9088 /tmux.1
parent208881a735669d854b132629eedb463ea9c01420 (diff)
downloadrtmux-1cb1fb5bd401cf26568a2dc480a8548af3b43930.tar.gz
rtmux-1cb1fb5bd401cf26568a2dc480a8548af3b43930.tar.bz2
rtmux-1cb1fb5bd401cf26568a2dc480a8548af3b43930.zip
Add -q flags to shut up errors to capture-pane and show-options, from George
Nachman.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.112
1 files changed, 10 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index 60877006..a094d58b 100644
--- a/tmux.1
+++ b/tmux.1
@@ -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