diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-11-25 12:14:02 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2008-11-25 12:14:02 +0000 |
commit | 6b6936f94277056de963ce05d2dbd24e55ba6bed (patch) | |
tree | d7f1a0edba68ff98aeff2adb77c5f19ad9ae92c8 /mdocml.c | |
parent | 808720d8960317a700e6430d570b49ceffceab47 (diff) | |
download | mandoc-6b6936f94277056de963ce05d2dbd24e55ba6bed.tar.gz |
Single call-back for filters.
Removed verbose flag.
Added more macros and arguments.
Diffstat (limited to 'mdocml.c')
-rw-r--r-- | mdocml.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -58,14 +58,11 @@ main(int argc, char *argv[]) (void)memset(&args, 0, sizeof(struct md_args)); - while (-1 != (c = getopt(argc, argv, "vo:"))) + while (-1 != (c = getopt(argc, argv, "o:"))) switch (c) { case ('o'): out = optarg; break; - case ('v'): - args.dbg++; - break; default: usage(); return(1); @@ -216,6 +213,5 @@ usage(void) { extern char *__progname; - (void)printf("usage: %s [-v] [-o outfile] [infile]\n", - __progname); + (void)printf("usage: %s [-o outfile] [infile]\n", __progname); } |