summaryrefslogtreecommitdiffstats
path: root/mdocml.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdocml.c')
-rw-r--r--mdocml.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdocml.c b/mdocml.c
index 936665f9..590d3119 100644
--- a/mdocml.c
+++ b/mdocml.c
@@ -71,7 +71,7 @@ main(int argc, char *argv[])
(void)memset(&args, 0, sizeof(struct md_args));
- args.type = MD_XML;
+ args.type = MD_NOOP;
while (-1 != (c = getopt(argc, argv, "c:ef:o:vW:")))
switch (c) {
@@ -90,6 +90,8 @@ main(int argc, char *argv[])
args.type = MD_HTML;
else if (0 == strcmp(optarg, "xml"))
args.type = MD_XML;
+ else if (0 == strcmp(optarg, "noop"))
+ args.type = MD_NOOP;
else
errx(1, "invalid filter type");
break;