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

Diff for /mandoc/main.c between version 1.166 and 1.169

version 1.166, 2012/05/27 17:48:57 version 1.169, 2014/01/06 00:53:33
Line 2 
Line 2 
 /*  /*
  * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2010, 2011, 2012 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2010, 2011, 2012 Ingo Schwarze <schwarze@openbsd.org>
    * Copyright (c) 2010 Joerg Sonnenberger <joerg@netbsd.org>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 140  main(int argc, char *argv[])
Line 141  main(int argc, char *argv[])
                         /* NOTREACHED */                          /* NOTREACHED */
                 }                  }
   
         curp.mp = mparse_alloc(type, curp.wlevel, mmsg, &curp, defos);          curp.mp = mparse_alloc(type, curp.wlevel, mmsg, defos, 0);
   
         /*          /*
          * Conditionally start up the lookaside buffer before parsing.           * Conditionally start up the lookaside buffer before parsing.
Line 186  usage(void)
Line 187  usage(void)
   
         fprintf(stderr, "usage: %s "          fprintf(stderr, "usage: %s "
                         "[-V] "                          "[-V] "
                         "[-foption] "                          "[-Ios=name] "
                         "[-mformat] "                          "[-mformat] "
                         "[-Ooption] "                          "[-Ooption] "
                         "[-Toutput] "                          "[-Toutput] "
                         "[-Wlevel] "                          "[-Wlevel]\n"
                         "[file...]\n",                          "\t      [file ...]\n",
                         progname);                          progname);
   
         exit((int)MANDOCLEVEL_BADARG);          exit((int)MANDOCLEVEL_BADARG);

Legend:
Removed from v.1.166  
changed lines
  Added in v.1.169

CVSweb