summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-01-27 09:04:48 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-01-27 09:04:48 +0000
commitcbe77b99337b8872f343692dbeb6483270ca87a1 (patch)
tree9d711668bdc9aabae4b9bd020cb3cd897463f59f /usr.bin/tmux
parentc43527a32cf0e7b4b63c25d17e0dee0aa2d554ac (diff)
Expand description of start-server.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/tmux.113
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index e3c80d7acd7..e05867e3b4b 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.706 2020/01/27 08:53:13 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.707 2020/01/27 09:04:47 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
.\"
@@ -1287,6 +1287,17 @@ shows the parsed commands and line numbers if possible.
Start the
.Nm
server, if not already running, without creating any sessions.
+.Pp
+Note that as by default the
+.Nm
+server will exit with no sessions, this is only useful if a session is created in
+.Pa ~/.tmux.conf ,
+.Ic exit-empty
+is turned off, or another command is run as part of the same command sequence.
+For example:
+.Bd -literal -offset indent
+$ tmux start \\; show -g
+.Ed
.It Xo Ic suspend-client
.Op Fl t Ar target-client
.Xc