Sync OpenBSD patchset 309:

Accept -l to make it easier for people who use tmux as a login shell to use
$SHELL. Originally from martynas@, tweaked by me.
This commit is contained in:
Tiago Cunha
2009-09-03 21:02:55 +00:00
parent c274551db6
commit 884ebb6dab
4 changed files with 22 additions and 11 deletions

8
tmux.1
View File

@ -1,4 +1,4 @@
.\" $Id: tmux.1,v 1.163 2009-09-03 20:44:38 tcunha Exp $
.\" $Id: tmux.1,v 1.164 2009-09-03 21:02:55 tcunha Exp $
.\"
.\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
.\"
@ -23,7 +23,7 @@
.Sh SYNOPSIS
.Nm tmux
.Bk -words
.Op Fl 28dqUuv
.Op Fl 28dlqUuv
.Op Fl f Ar file
.Op Fl L Ar socket-name
.Op Fl S Ar socket-path
@ -120,6 +120,10 @@ commands which are executed in sequence when the server is first started.
If a command in the configuration file fails,
.Nm
will report an error and exit without executing further commands.
.It Fl l
Behave as a login shell.
This flag currently has no effect and is for compatibility with other shells
when using tmux as a login shell.
.It Fl L Ar socket-name
.Nm
stores the server socket in a directory under