summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2015-07-24 18:24:10 +0200
committerChristoph Lohmann <20h@r-36.net>2015-07-24 18:24:10 +0200
commitb5e29cce5246f30dc671cbb9486af704bc8cd2fc (patch)
treeab1315a4fea42ae549841c6e069c7ae86e05dd5b
parent4a193b96862c8ed7147048592aa4a898b3c05b5b (diff)
Add -T, as recommended by Dmitrij D. Czarkoff
-rw-r--r--st.17
-rw-r--r--st.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/st.1 b/st.1
index 9548c1a..82e228a 100644
--- 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 f53378c..c384977 100644
--- 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':