]> git.armaanb.net Git - st.git/commitdiff
Add -T, as recommended by Dmitrij D. Czarkoff
authorChristoph Lohmann <20h@r-36.net>
Fri, 24 Jul 2015 16:24:10 +0000 (18:24 +0200)
committerChristoph Lohmann <20h@r-36.net>
Fri, 24 Jul 2015 16:24:10 +0000 (18:24 +0200)
st.1
st.c

diff --git a/st.1 b/st.1
index 9548c1acd5fc240439c390edd20924f4e9cc9329..82e228a023e952a2139f79c5c06223a9e1998793 100644 (file)
--- a/st.1
+++ b/st.1
@@ -15,6 +15,8 @@ st \- simple terminal
 .IR file ]
 .RB [ \-t 
 .IR title ]
+.RB [ \-T
+.IR title ]
 .RB [ \-l
 .IR line ]
 .RB [ \-w 
@@ -37,6 +39,8 @@ st \- simple terminal
 .IR file ]
 .RB [ \-t
 .IR title ]
+.RB [ \-T
+.IR title ]
 .RB [ \-l
 .IR line ]
 .RB [ \-w
@@ -79,6 +83,9 @@ standard output.
 .BI \-t " title"
 defines the window title (default 'st').
 .TP
+.BI \-T " title"
+defines the window title (default 'st').
+.TP
 .BI \-w " windowid"
 embeds st within the window identified by 
 .I windowid
diff --git a/st.c b/st.c
index f53378cd25b4a9a463a8a681b44e8a5cc9619cf5..c38497767fa981259817f00aa7f8365289b49240 100644 (file)
--- a/st.c
+++ b/st.c
@@ -4302,6 +4302,7 @@ main(int argc, char *argv[])
                opt_line = EARGF(usage());
                break;
        case 't':
+       case 'T':
                opt_title = EARGF(usage());
                break;
        case 'w':