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().
This commit is contained in:
Roberto E. Vargas Caballero 2014-08-17 20:49:33 +02:00
parent f8b4998b32
commit 8f3e6a577d
2 changed files with 3 additions and 3 deletions

2
st.1
View File

@ -42,7 +42,7 @@ The form is [=][<cols>{xX}<rows>][{+-}<xoffset>{+-}<yoffset>]. See
.BR XParseGeometry (3) .BR XParseGeometry (3)
for further details. for further details.
.TP .TP
.B \-f .B \-i
will fixate the position given with the -g option. will fixate the position given with the -g option.
.TP .TP
.BI \-o " file" .BI \-o " file"

4
st.c
View File

@ -3870,8 +3870,8 @@ run(void) {
void void
usage(void) { usage(void) {
die("%s " VERSION " (c) 2010-2014 st engineers\n" \ die("%s " VERSION " (c) 2010-2014 st engineers\n" \
"usage: st [-a] [-v] [-c class] [-f font] [-g geometry] [-o file]" \ "usage: st [-a] [-v] [-c class] [-f font] [-g geometry] [-o file]\n"
" [-t title] [-w windowid] [-e command ...]\n", argv0); " [-i] [-t title] [-w windowid] [-e command ...]\n", argv0);
} }
int int