aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authornicm <nicm>2020-05-16 16:07:55 +0000
committernicm <nicm>2020-05-16 16:07:55 +0000
commitdceb6a15d04a2b2e050ab41816d0df3fe224b416 (patch)
treec2810c4472b71fd21301b6391e1a38a4e0774777 /tmux.1
parent126bacb473f7950a156944caba42fad5f1764287 (diff)
downloadrtmux-dceb6a15d04a2b2e050ab41816d0df3fe224b416.tar.gz
rtmux-dceb6a15d04a2b2e050ab41816d0df3fe224b416.tar.bz2
rtmux-dceb6a15d04a2b2e050ab41816d0df3fe224b416.zip
Add a -D flag to ask tmux not to daemonize, useful both for running a
debugger (lldb does not have follow-fork-mode) and for running with a managed supervisor init system. GitHub issue 2190.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.113
1 files changed, 12 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 45c004ff..6c19283e 100644
--- a/tmux.1
+++ b/tmux.1
@@ -23,7 +23,7 @@
.Sh SYNOPSIS
.Nm tmux
.Bk -words
-.Op Fl 2CluvV
+.Op Fl 2CDluvV
.Op Fl c Ar shell-command
.Op Fl f Ar file
.Op Fl L Ar socket-name
@@ -122,6 +122,17 @@ This option is for compatibility with
when
.Nm
is used as a login shell.
+.It Fl D
+Do not start the
+.Nm
+server as a daemon.
+This also turns the
+.Ic exit-empty
+option off.
+With
+.Fl D ,
+.Ar command
+may not be specified.
.It Fl f Ar file
Specify an alternative configuration file.
By default,