diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-10 14:42:45 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-12-10 14:42:45 +0000 |
commit | 350d36572cedb93c55d10aff73c3a7bb54fef52e (patch) | |
tree | 81bb8cb1742c69702386bd5200230a907f67f318 /mdocml.c | |
parent | e4c3f51da30c67c5fb30b0b90af2f55a8631af37 (diff) | |
download | mandoc-350d36572cedb93c55d10aff73c3a7bb54fef52e.tar.gz |
Made noop the default filter.
Diffstat (limited to 'mdocml.c')
-rw-r--r-- | mdocml.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |