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

Diff for /mandoc/main.c between version 1.284 and 1.285

version 1.284, 2017/02/22 14:58:48 version 1.285, 2017/03/03 14:23:23
Line 67  enum outt {
Line 67  enum outt {
         OUTT_TREE,      /* -Ttree */          OUTT_TREE,      /* -Ttree */
         OUTT_MAN,       /* -Tman */          OUTT_MAN,       /* -Tman */
         OUTT_HTML,      /* -Thtml */          OUTT_HTML,      /* -Thtml */
           OUTT_MARKDOWN,  /* -Tmarkdown */
         OUTT_LINT,      /* -Tlint */          OUTT_LINT,      /* -Tlint */
         OUTT_PS,        /* -Tps */          OUTT_PS,        /* -Tps */
         OUTT_PDF        /* -Tpdf */          OUTT_PDF        /* -Tpdf */
Line 766  parse(struct curparse *curp, int fd, const char *file)
Line 767  parse(struct curparse *curp, int fd, const char *file)
                 case OUTT_PS:                  case OUTT_PS:
                         terminal_mdoc(curp->outdata, man);                          terminal_mdoc(curp->outdata, man);
                         break;                          break;
                   case OUTT_MARKDOWN:
                           markdown_mdoc(curp->outdata, man);
                           break;
                 default:                  default:
                         break;                          break;
                 }                  }
Line 950  toptions(struct curparse *curp, char *arg)
Line 954  toptions(struct curparse *curp, char *arg)
                 curp->outtype = OUTT_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, "markdown"))
                   curp->outtype = OUTT_MARKDOWN;
         else if (0 == strcmp(arg, "utf8"))          else if (0 == strcmp(arg, "utf8"))
                 curp->outtype = OUTT_UTF8;                  curp->outtype = OUTT_UTF8;
         else if (0 == strcmp(arg, "locale"))          else if (0 == strcmp(arg, "locale"))

Legend:
Removed from v.1.284  
changed lines
  Added in v.1.285

CVSweb