From 350d36572cedb93c55d10aff73c3a7bb54fef52e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 10 Dec 2008 14:42:45 +0000 Subject: Made noop the default filter. --- mdocml.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mdocml.c') 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; -- cgit