aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-09-23 15:18:56 +0000
committerTiago Cunha <tcunha@gmx.com>2009-09-23 15:18:56 +0000
commit5be3fb86b9225842515f79a611a44d587814bd4c (patch)
tree88f4ef4bc24ee53dad55e025a7aaddbf335aa813 /tmux.1
parent4dd332c95e0c439ae9532ffa391cd13eb769af01 (diff)
downloadrtmux-5be3fb86b9225842515f79a611a44d587814bd4c.tar.gz
rtmux-5be3fb86b9225842515f79a611a44d587814bd4c.tar.bz2
rtmux-5be3fb86b9225842515f79a611a44d587814bd4c.zip
Sync OpenBSD patchset 350:
Support -c like sh(1) to execute a command, useful when tmux is a login shell. Suggested by halex@. This includes another protocol version increase (the last for now) so again restart the tmux server before upgrading.
Diffstat (limited to 'tmux.1')
-rw-r--r--tmux.112
1 files changed, 11 insertions, 1 deletions
diff --git a/tmux.1 b/tmux.1
index 3ebd091f..dbb8b88c 100644
--- a/tmux.1
+++ b/tmux.1
@@ -1,4 +1,4 @@
-.\" $Id: tmux.1,v 1.172 2009-09-23 15:00:09 tcunha Exp $
+.\" $Id: tmux.1,v 1.173 2009-09-23 15:18:56 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@@ -24,6 +24,7 @@
.Nm tmux
.Bk -words
.Op Fl 28dlquv
+.Op Fl c Ar shell-command
.Op Fl f Ar file
.Op Fl L Ar socket-name
.Op Fl S Ar socket-path
@@ -101,6 +102,15 @@ to assume the terminal supports 256 colours.
Like
.Fl 2 ,
but indicates that the terminal supports 88 colours.
+.It Fl c Ar shell-command
+Execute
+.Ar shell-command
+using the default shell.
+If necessary, the
+.Nm
+server will be started to retrieve the
+.Ic default-shell
+option.
.It Fl d
Force
.Nm