[hackers] [st] Fix man page and usage() || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Mon, 18 Aug 2014 12:10:47 +0200

commit 8f3e6a577d0d9733d356c0b691fea7b523d8ade7
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Sun Aug 17 20:49:33 2014 +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
    the output of usage().

diff --git a/st.1 b/st.1
index 7174da2..e655530 100644
--- a/st.1
+++ b/st.1
_AT_@ -42,7 +42,7 @@ The form is [=][<cols>{xX}<rows>][{+-}<xoffset>{+-}<yoffset>]. See
 .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
index 6e5953a..8f19018 100644
--- a/st.c
+++ b/st.c
_AT_@ -3870,8 +3870,8 @@ run(void) {
 void
 usage(void) {
         die("%s " VERSION " (c) 2010-2014 st engineers
" \
- "usage: st [-a] [-v] [-c class] [-f font] [-g geometry] [-o file]" \
- " [-t title] [-w windowid] [-e command ...]
", argv0);
+ "usage: st [-a] [-v] [-c class] [-f font] [-g geometry] [-o file]
"
+ " [-i] [-t title] [-w windowid] [-e command ...]
", argv0);
 }
 
 int
Received on Mon Aug 18 2014 - 12:10:47 CEST

This archive was generated by hypermail 2.3.0 : Mon Aug 18 2014 - 12:12:09 CEST