[BACK]Return to main.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/main.c between version 1.163 and 1.164

version 1.163, 2011/05/20 15:51:18 version 1.164, 2011/09/17 15:00:51
Line 46  enum outt {
Line 46  enum outt {
         OUTT_LOCALE,    /* -Tlocale */          OUTT_LOCALE,    /* -Tlocale */
         OUTT_UTF8,      /* -Tutf8 */          OUTT_UTF8,      /* -Tutf8 */
         OUTT_TREE,      /* -Ttree */          OUTT_TREE,      /* -Ttree */
           OUTT_MAN,       /* -Tman */
         OUTT_HTML,      /* -Thtml */          OUTT_HTML,      /* -Thtml */
         OUTT_XHTML,     /* -Txhtml */          OUTT_XHTML,     /* -Txhtml */
         OUTT_LINT,      /* -Tlint */          OUTT_LINT,      /* -Tlint */
Line 249  parse(struct curparse *curp, int fd, 
Line 250  parse(struct curparse *curp, int fd, 
                         curp->outman = tree_man;                          curp->outman = tree_man;
                         curp->outmdoc = tree_mdoc;                          curp->outmdoc = tree_mdoc;
                         break;                          break;
                   case (OUTT_MAN):
                           curp->outmdoc = man_mdoc;
                           break;
                 case (OUTT_PDF):                  case (OUTT_PDF):
                         /* FALLTHROUGH */                          /* FALLTHROUGH */
                 case (OUTT_ASCII):                  case (OUTT_ASCII):
Line 312  toptions(struct curparse *curp, char *arg)
Line 316  toptions(struct curparse *curp, char *arg)
                 curp->wlevel  = MANDOCLEVEL_WARNING;                  curp->wlevel  = MANDOCLEVEL_WARNING;
         } else if (0 == strcmp(arg, "tree"))          } else if (0 == strcmp(arg, "tree"))
                 curp->outtype = OUTT_TREE;                  curp->outtype = OUTT_TREE;
           else if (0 == strcmp(arg, "man"))
                   curp->outtype = OUTT_MAN;
         else if (0 == strcmp(arg, "html"))          else if (0 == strcmp(arg, "html"))
                 curp->outtype = OUTT_HTML;                  curp->outtype = OUTT_HTML;
         else if (0 == strcmp(arg, "utf8"))          else if (0 == strcmp(arg, "utf8"))

Legend:
Removed from v.1.163  
changed lines
  Added in v.1.164

CVSweb