aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-03-22 17:01:15 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-03-22 17:01:15 +0000
commit7f191c7951e54f635fc55a4c409bef3060eaacfb (patch)
treeaf92eb29eeb5072ed3a7aafe4f62269b0ec3c20c /tmux.1
parent0ccd84d2ef3b925d1039144d26af692fef69b866 (diff)
downloadrtmux-7f191c7951e54f635fc55a4c409bef3060eaacfb.tar.gz
rtmux-7f191c7951e54f635fc55a4c409bef3060eaacfb.tar.bz2
rtmux-7f191c7951e54f635fc55a4c409bef3060eaacfb.zip
Add -P and -F to new-session.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.113
1 files changed, 11 insertions, 2 deletions
diff --git a/tmux.1 b/tmux.1
index cd9637b9..395bc538 100644
--- a/tmux.1
+++ b/tmux.1
@@ -675,7 +675,8 @@ command.
Lock all clients attached to
.Ar target-session .
.It Xo Ic new-session
-.Op Fl AdD
+.Op Fl AdDP
+.Op Fl F Ar format
.Op Fl n Ar window-name
.Op Fl s Ar session-name
.Op Fl t Ar target-session
@@ -740,6 +741,14 @@ or
are invalid if
.Fl t
is used.
+.Pp
+The
+.Fl P
+option prints information about the new session after it has been created.
+By default, it uses the format
+.Ql #{session_name}:
+but a different format may be specified with
+.Fl F .
.It Xo Ic refresh-client
.Op Fl S
.Op Fl t Ar target-client
@@ -1470,9 +1479,9 @@ option.
.It Xo Ic new-window
.Op Fl adkP
.Op Fl c Ar start-directory
+.Op Fl F Ar format
.Op Fl n Ar window-name
.Op Fl t Ar target-window
-.Op Fl F Ar format
.Op Ar shell-command
.Xc
.D1 (alias: Ic neww )