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

Diff for /mandoc/Attic/apropos.c between version 1.20 and 1.22

version 1.20, 2011/11/27 18:54:01 version 1.22, 2011/11/29 10:53:42
Line 53  main(int argc, char *argv[])
Line 53  main(int argc, char *argv[])
         else          else
                 ++progname;                  ++progname;
   
         whatis = 0 == strcmp(progname, "whatis");          whatis = 0 == strncmp(progname, "whatis", 6);
   
         memset(&paths, 0, sizeof(struct manpaths));          memset(&paths, 0, sizeof(struct manpaths));
         memset(&opts, 0, sizeof(struct opts));          memset(&opts, 0, sizeof(struct opts));
Line 142  usage(void)
Line 142  usage(void)
 {  {
   
         fprintf(stderr, "usage: %s "          fprintf(stderr, "usage: %s "
                         "[-M path] "                          "[-M manpath] "
                         "[-m path] "                          "[-m manpath] "
                         "[-S arch] "                          "[-S arch] "
                         "[-s section] "                          "[-s section] "
                         "expression...\n",                          "expression...\n",

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.22

CVSweb