summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.1
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2013-03-25 11:44:01 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2013-03-25 11:44:01 +0000
commit102efa6a47dbba8b95fe3baf85ce9759f08d93fd (patch)
tree42e08b934d341322afd3365ce08e364a1a8694d5 /usr.bin/tmux/tmux.1
parent72f8afdae4309b4a2522f83f5c96d0909f4038a0 (diff)
Add -P and -F to new-session.
Diffstat (limited to 'usr.bin/tmux/tmux.1')
-rw-r--r--usr.bin/tmux/tmux.115
1 files changed, 12 insertions, 3 deletions
diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1
index 55f05477b51..2aedefcd561 100644
--- a/usr.bin/tmux/tmux.1
+++ b/usr.bin/tmux/tmux.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmux.1,v 1.350 2013/03/25 11:40:40 nicm Exp $
+.\" $OpenBSD: tmux.1,v 1.351 2013/03/25 11:44:00 nicm Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -671,7 +671,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
@@ -736,6 +737,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
@@ -1466,9 +1475,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 )