aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2020-01-28 10:44:30 +0000
committernicm <nicm>2020-01-28 10:44:30 +0000
commitf165221dc4641837ee9f589bb666d310a495904c (patch)
tree803a9772a19610a93f444718119195863442b2b8 /tmux.1
parent32816eaebd4ccd712cc7f7291a587146d122a9ff (diff)
downloadrtmux-f165221dc4641837ee9f589bb666d310a495904c.tar.gz
rtmux-f165221dc4641837ee9f589bb666d310a495904c.tar.bz2
rtmux-f165221dc4641837ee9f589bb666d310a495904c.zip
Reduce a difference with portable tmux by adding the -V flag and
#{version} format; on OpenBSD these just report the OpenBSD version.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.18
1 files changed, 7 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 11bdf4bc..bc24c193 100644
--- a/tmux.1
+++ b/tmux.1
@@ -23,7 +23,7 @@
.Sh SYNOPSIS
.Nm tmux
.Bk -words
-.Op Fl 2Cluv
+.Op Fl 2CluvV
.Op Fl c Ar shell-command
.Op Fl f Ar file
.Op Fl L Ar socket-name
@@ -210,6 +210,11 @@ signal may be sent to the
server process to toggle logging between on (as if
.Fl v
was given) and off.
+.It Fl V
+Report the
+.Nm
+version.
+.Pp
.It Ar command Op Ar flags
This specifies one of a set of commands used to control
.Nm ,
@@ -4369,6 +4374,7 @@ The following variables are available, where appropriate:
.It Li "session_windows" Ta "" Ta "Number of windows in session"
.It Li "socket_path" Ta "" Ta "Server socket path"
.It Li "start_time" Ta "" Ta "Server start time"
+.It Li "version" Ta "" Ta "Server version"
.It Li "window_active" Ta "" Ta "1 if window active"
.It Li "window_active_clients" Ta "" Ta "Number of clients viewing this window"
.It Li "window_active_clients_list" Ta "" Ta "List of clients viewing this window"