Add -P and -F to new-session.

This commit is contained in:
Nicholas Marriott
2013-03-22 17:01:15 +00:00
parent 0ccd84d2ef
commit 7f191c7951
4 changed files with 48 additions and 22 deletions

13
tmux.1
View File

@ -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 )