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

Diff for /mandoc/main.c between version 1.197 and 1.199

version 1.197, 2014/11/11 02:10:04 version 1.199, 2014/11/11 19:04:55
Line 177  main(int argc, char *argv[])
Line 177  main(int argc, char *argv[])
                 case 'h':                  case 'h':
                         (void)strlcat(curp.outopts, "synopsis,", BUFSIZ);                          (void)strlcat(curp.outopts, "synopsis,", BUFSIZ);
                         synopsis_only = 1;                          synopsis_only = 1;
                           use_pager = 0;
                         outmode = OUTMODE_ALL;                          outmode = OUTMODE_ALL;
                         break;                          break;
                 case 'I':                  case 'I':
Line 292  main(int argc, char *argv[])
Line 293  main(int argc, char *argv[])
 #if HAVE_SQLITE3  #if HAVE_SQLITE3
                 if (argc == 0)                  if (argc == 0)
                         usage(search.argmode);                          usage(search.argmode);
   
                   if (search.argmode == ARG_NAME &&
                       outmode == OUTMODE_ONE)
                           search.firstmatch = 1;
   
                 /* Access the mandoc database. */                  /* Access the mandoc database. */
   

Legend:
Removed from v.1.197  
changed lines
  Added in v.1.199

CVSweb