Browse Source

Add -T, as recommended by Dmitrij D. Czarkoff

Christoph Lohmann 9 years ago
parent
commit
b5e29cce52
2 changed files with 8 additions and 0 deletions
  1. 7 0
      st.1
  2. 1 0
      st.c

+ 7 - 0
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

+ 1 - 0
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':