summaryrefslogtreecommitdiffstats
path: root/mdoc_argv.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2012-03-23 05:50:24 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2012-03-23 05:50:24 +0000
commita876999e0e8b1a129ab911ecec23c4984badcc31 (patch)
tree3aa3ee33a9f447c29903616d57608b696f5a9d5a /mdoc_argv.c
parent361307c22dc17bf596312dda04b922d185792fe8 (diff)
downloadmandoc-a876999e0e8b1a129ab911ecec23c4984badcc31.tar.gz
Make the `-width' field to `Bl' not puke if it doesn't have an argument.
This makes mandoc work much, much nicer with Mac OSX manpages.
Diffstat (limited to 'mdoc_argv.c')
-rw-r--r--mdoc_argv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_argv.c b/mdoc_argv.c
index 4466ac67..9d118fa9 100644
--- a/mdoc_argv.c
+++ b/mdoc_argv.c
@@ -81,7 +81,7 @@ static const enum argvflag argvflags[MDOC_ARG_MAX] = {
ARGV_NONE, /* MDOC_Ohang */
ARGV_NONE, /* MDOC_Inset */
ARGV_MULTI, /* MDOC_Column */
- ARGV_SINGLE, /* MDOC_Width */
+ ARGV_OPT_SINGLE, /* MDOC_Width */
ARGV_NONE, /* MDOC_Compact */
ARGV_NONE, /* MDOC_Std */
ARGV_NONE, /* MDOC_Filled */