summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-26 08:18:15 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-26 08:18:15 +0000
commit03ddeec98e2d42a4ed7f64e0773bfab105475220 (patch)
tree086157d72162ea60c2cebbad82325c7de9e5346e /main.c
parentdc421841e876bb44d10487c5107d5c931123afa2 (diff)
downloadmandoc-03ddeec98e2d42a4ed7f64e0773bfab105475220.tar.gz
Portability: replaced queue macros in html.c (Joerg Sonnenberger).
Fixed "-o" residue. Added "-O" to usage() (-o didn't appear there either).
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 69ae0e7a..1663e8be 100644
--- a/main.c
+++ b/main.c
@@ -134,7 +134,7 @@ main(int argc, char *argv[])
if ( ! moptions(&curp.inttype, optarg))
return(EXIT_FAILURE);
break;
- case ('o'):
+ case ('O'):
curp.outopts = optarg;
break;
case ('T'):
@@ -221,8 +221,8 @@ usage(void)
{
(void)fprintf(stderr, "usage: %s [-V] [-foption...] "
- "[-mformat] [-Toutput] [-Werr...]\n",
- __progname);
+ "[-mformat] [-Ooption] [-Toutput] "
+ "[-Werr...]\n", __progname);
exit(EXIT_FAILURE);
}