aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-05-10 16:52:46 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-05-10 16:52:46 +0100
commitd01e7aac89fefff31e668ac2d668c84c345b9e67 (patch)
tree5d773b1d95cb96f9c3b70e1d34c355f283a0a136 /tmux.1
parent5fa377d9273ee609784acc538a5defa09feb3095 (diff)
downloadrtmux-d01e7aac89fefff31e668ac2d668c84c345b9e67.tar.gz
rtmux-d01e7aac89fefff31e668ac2d668c84c345b9e67.tar.bz2
rtmux-d01e7aac89fefff31e668ac2d668c84c345b9e67.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 56322d85..d93f34aa 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,