Return to main.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.16, 2009/03/25 21:46:24 | version 1.17, 2009/03/26 16:23:22 | ||
---|---|---|---|
|
|
||
moptions(enum intt *tflags, char *arg) | moptions(enum intt *tflags, char *arg) | ||
{ | { | ||
if (0 == strcmp(arg, "mdoc")) | if (0 == strcmp(arg, "doc")) | ||
*tflags = INTT_MDOC; | *tflags = INTT_MDOC; | ||
else if (0 == strcmp(arg, "man")) | else if (0 == strcmp(arg, "an")) | ||
*tflags = INTT_MAN; | *tflags = INTT_MAN; | ||
else { | else { | ||
warnx("bad argument: -m%s", arg); | warnx("bad argument: -m%s", arg); |