tFix man page and usage() - st - [fork] customized build of st, the simple term… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 8f3e6a577d0d9733d356c0b691fea7b523d8ade7 | |
parent f8b4998b32cbabe2090dc8027720203d6cd2d24d | |
Author: Roberto E. Vargas Caballero <[email protected]> | |
Date: Sun, 17 Aug 2014 20:49:33 +0200 | |
Fix man page and usage() | |
Man page was repeating -f option, the second time instead of -i, | |
and this option was lost in usage() message. This patch also indent | |
tthe output of usage(). | |
Diffstat: | |
M st.1 | 2 +- | |
M st.c | 4 ++-- | |
2 files changed, 3 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/st.1 b/st.1 | |
t@@ -42,7 +42,7 @@ The form is [=][<cols>{xX}<rows>][{+-}<xoffset>{+-}<yoffset>… | |
.BR XParseGeometry (3) | |
for further details. | |
.TP | |
-.B \-f | |
+.B \-i | |
will fixate the position given with the -g option. | |
.TP | |
.BI \-o " file" | |
diff --git a/st.c b/st.c | |
t@@ -3870,8 +3870,8 @@ run(void) { | |
void | |
usage(void) { | |
die("%s " VERSION " (c) 2010-2014 st engineers\n" \ | |
- "usage: st [-a] [-v] [-c class] [-f font] [-g geometry] [-o file]" \ | |
- " [-t title] [-w windowid] [-e command ...]\n", argv0); | |
+ "usage: st [-a] [-v] [-c class] [-f font] [-g geometry] [-o file]\n" | |
+ " [-i] [-t title] [-w windowid] [-e command ...]\n", argv0); | |
} | |
int |