[BACK]Return to mandocdb.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/mandocdb.c between version 1.82 and 1.83

version 1.82, 2014/04/03 15:37:14 version 1.83, 2014/04/03 16:26:53
Line 349 
Line 349 
         path_arg = NULL;          path_arg = NULL;
         op = OP_DEFAULT;          op = OP_DEFAULT;
   
         while (-1 != (ch = getopt(argc, argv, "aC:Dd:nQT:tu:W")))          while (-1 != (ch = getopt(argc, argv, "aC:Dd:npQT:tu:v")))
                 switch (ch) {                  switch (ch) {
                 case ('a'):                  case ('a'):
                         use_all = 1;                          use_all = 1;
Line 370 
Line 370 
                 case ('n'):                  case ('n'):
                         nodb = 1;                          nodb = 1;
                         break;                          break;
                   case ('p'):
                           warnings = 1;
                           break;
                 case ('Q'):                  case ('Q'):
                         mparse_options |= MPARSE_QUICK;                          mparse_options |= MPARSE_QUICK;
                         break;                          break;
Line 392 
Line 395 
                         path_arg = optarg;                          path_arg = optarg;
                         op = OP_DELETE;                          op = OP_DELETE;
                         break;                          break;
                 case ('W'):                  case ('v'):
                         warnings = 1;                          /* Compatibility with espie@'s makewhatis. */
                         break;                          break;
                 default:                  default:
                         goto usage;                          goto usage;
Line 498 
Line 501 
         ohash_delete(&mlinks);          ohash_delete(&mlinks);
         return(exitcode);          return(exitcode);
 usage:  usage:
         fprintf(stderr, "usage: %s [-aDnQW] [-C file] [-Tutf8]\n"          fprintf(stderr, "usage: %s [-aDnpQ] [-C file] [-Tutf8]\n"
                         "       %s [-aDnQW] [-Tutf8] dir ...\n"                          "       %s [-aDnpQ] [-Tutf8] dir ...\n"
                         "       %s [-DnQW] [-Tutf8] -d dir [file ...]\n"                          "       %s [-DnpQ] [-Tutf8] -d dir [file ...]\n"
                         "       %s [-DnW] -u dir [file ...]\n"                          "       %s [-Dnp] -u dir [file ...]\n"
                         "       %s [-Q] -t file ...\n",                          "       %s [-Q] -t file ...\n",
                        progname, progname, progname,                         progname, progname, progname,
                        progname, progname);                         progname, progname);

Legend:
Removed from v.1.82  
changed lines
  Added in v.1.83