summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-03-27 16:36:31 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-03-27 16:36:31 +0000
commit2fba111e1348dcdc89a477c59777c7ad13b08029 (patch)
treee1dfa952071593fb1a7f3e6b4dd7271faf21660f /main.c
parentf4674f189e73d3471e680d5e2e96f4d9fef24845 (diff)
downloadmandoc-2fba111e1348dcdc89a477c59777c7ad13b08029.tar.gz
Modernize documentation by inserting blanks between option letters
and option arguments, except for -m because "-m an" and "-m andoc" look just too weird. Of course, the traditional form without the blank will continue to work.
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 032e1a8d..ecb22477 100644
--- a/main.c
+++ b/main.c
@@ -499,9 +499,9 @@ usage(enum argmode argmode)
switch (argmode) {
case ARG_FILE:
- fputs("usage: mandoc [-acfhkl] [-Ios=name] "
- "[-Kencoding] [-mformat] [-Ooption]\n"
- "\t [-Toutput] [-Wlevel] [file ...]\n", stderr);
+ fputs("usage: mandoc [-acfhkl] [-I os=name] "
+ "[-K encoding] [-mformat] [-O option]\n"
+ "\t [-T output] [-W level] [file ...]\n", stderr);
break;
case ARG_NAME:
fputs("usage: man [-acfhklw] [-C file] [-I os=name] "