aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit0094b52bf5ae4780a23fccaab7adc5bf71c2c161 (patch)
tree4c755ac8bf080ee49d60286a6cbb5914ce6acb6f /main.c
parente6afdc75d9547fb1fb0b99ad255ed79dcf0c5802 (diff)
downloadmandoc-0094b52bf5ae4780a23fccaab7adc5bf71c2c161.tar.gz
mandoc-0094b52bf5ae4780a23fccaab7adc5bf71c2c161.tar.zst
mandoc-0094b52bf5ae4780a23fccaab7adc5bf71c2c161.zip
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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index 2f6547b1..96d34887 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.227 2015/03/17 13:35:52 schwarze Exp $ */
+/* $Id: main.c,v 1.228 2015/03/27 16:36:31 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2012, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -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] "