summaryrefslogtreecommitdiffstats
path: root/mdocml.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-11-25 12:14:02 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-11-25 12:14:02 +0000
commit6b6936f94277056de963ce05d2dbd24e55ba6bed (patch)
treed7f1a0edba68ff98aeff2adb77c5f19ad9ae92c8 /mdocml.c
parent808720d8960317a700e6430d570b49ceffceab47 (diff)
downloadmandoc-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.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/mdocml.c b/mdocml.c
index d83bb4cd..bdeed340 100644
--- a/mdocml.c
+++ b/mdocml.c
@@ -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);
}