=================================================================== RCS file: /cvs/mandoc/Attic/mdocml.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -p -r1.10 -r1.11 --- mandoc/Attic/mdocml.c 2008/11/24 14:24:55 1.10 +++ mandoc/Attic/mdocml.c 2008/11/25 12:14:02 1.11 @@ -1,4 +1,4 @@ -/* $Id: mdocml.c,v 1.10 2008/11/24 14:24:55 kristaps Exp $ */ +/* $Id: mdocml.c,v 1.11 2008/11/25 12:14:02 kristaps Exp $ */ /* * Copyright (c) 2008 Kristaps Dzonsons * @@ -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); }