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().
master
Roberto E. Vargas Caballero 10 years ago
parent f8b4998b32
commit 8f3e6a577d
  1. 2
      st.1
  2. 4
      st.c

@ -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"

@ -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

Loading…
Cancel
Save