diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-08-17 20:49:33 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-08-17 20:49:33 +0200 |
commit | 8f3e6a577d0d9733d356c0b691fea7b523d8ade7 (patch) | |
tree | 2f348e2927cc70630de84c587230cc8f7c6f12e8 | |
parent | f8b4998b32cbabe2090dc8027720203d6cd2d24d (diff) | |
download | st-8f3e6a577d0d9733d356c0b691fea7b523d8ade7.tar.gz st-8f3e6a577d0d9733d356c0b691fea7b523d8ade7.zip |
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().
-rw-r--r-- | st.1 | 2 | ||||
-rw-r--r-- | st.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -42,7 +42,7 @@ The form is [=][<cols>{xX}<rows>][{+-}<xoffset>{+-}<yoffset>]. See | |||
42 | .BR XParseGeometry (3) | 42 | .BR XParseGeometry (3) |
43 | for further details. | 43 | for further details. |
44 | .TP | 44 | .TP |
45 | .B \-f | 45 | .B \-i |
46 | will fixate the position given with the -g option. | 46 | will fixate the position given with the -g option. |
47 | .TP | 47 | .TP |
48 | .BI \-o " file" | 48 | .BI \-o " file" |
@@ -3870,8 +3870,8 @@ run(void) { | |||
3870 | void | 3870 | void |
3871 | usage(void) { | 3871 | usage(void) { |
3872 | die("%s " VERSION " (c) 2010-2014 st engineers\n" \ | 3872 | die("%s " VERSION " (c) 2010-2014 st engineers\n" \ |
3873 | "usage: st [-a] [-v] [-c class] [-f font] [-g geometry] [-o file]" \ | 3873 | "usage: st [-a] [-v] [-c class] [-f font] [-g geometry] [-o file]\n" |
3874 | " [-t title] [-w windowid] [-e command ...]\n", argv0); | 3874 | " [-i] [-t title] [-w windowid] [-e command ...]\n", argv0); |
3875 | } | 3875 | } |
3876 | 3876 | ||
3877 | int | 3877 | int |