Add -T, as recommended by Dmitrij D. Czarkoff

master
Christoph Lohmann 2015-07-24 18:24:10 +02:00
parent 4a193b9686
commit b5e29cce52
2 changed files with 8 additions and 0 deletions

7
st.1
View File

@ -15,6 +15,8 @@ st \- simple terminal
.IR file ] .IR file ]
.RB [ \-t .RB [ \-t
.IR title ] .IR title ]
.RB [ \-T
.IR title ]
.RB [ \-l .RB [ \-l
.IR line ] .IR line ]
.RB [ \-w .RB [ \-w
@ -37,6 +39,8 @@ st \- simple terminal
.IR file ] .IR file ]
.RB [ \-t .RB [ \-t
.IR title ] .IR title ]
.RB [ \-T
.IR title ]
.RB [ \-l .RB [ \-l
.IR line ] .IR line ]
.RB [ \-w .RB [ \-w
@ -79,6 +83,9 @@ standard output.
.BI \-t " title" .BI \-t " title"
defines the window title (default 'st'). defines the window title (default 'st').
.TP .TP
.BI \-T " title"
defines the window title (default 'st').
.TP
.BI \-w " windowid" .BI \-w " windowid"
embeds st within the window identified by embeds st within the window identified by
.I windowid .I windowid

1
st.c
View File

@ -4302,6 +4302,7 @@ main(int argc, char *argv[])
opt_line = EARGF(usage()); opt_line = EARGF(usage());
break; break;
case 't': case 't':
case 'T':
opt_title = EARGF(usage()); opt_title = EARGF(usage());
break; break;
case 'w': case 'w':