summaryrefslogtreecommitdiffstats
path: root/mdocml.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-12-10 14:42:45 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-12-10 14:42:45 +0000
commit350d36572cedb93c55d10aff73c3a7bb54fef52e (patch)
tree81bb8cb1742c69702386bd5200230a907f67f318 /mdocml.c
parente4c3f51da30c67c5fb30b0b90af2f55a8631af37 (diff)
downloadmandoc-350d36572cedb93c55d10aff73c3a7bb54fef52e.tar.gz
Made noop the default filter.
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;