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

Diff for /mandoc/Attic/apropos.c between version 1.8 and 1.9

version 1.8, 2011/11/09 01:24:23 version 1.9, 2011/11/09 10:53:48
Line 72  main(int argc, char *argv[])
Line 72  main(int argc, char *argv[])
         else          else
                 ++progname;                  ++progname;
   
         while (-1 != (ch = getopt(argc, argv, "a:c:I:t:")))          while (-1 != (ch = getopt(argc, argv, "S:s:It:")))
                 switch (ch) {                  switch (ch) {
                 case ('a'):                  case ('S'):
                         opts.arch = optarg;                          opts.arch = optarg;
                         break;                          break;
                 case ('c'):                  case ('s'):
                         opts.cat = optarg;                          opts.cat = optarg;
                         break;                          break;
                 case ('I'):                  case ('I'):
Line 159  usage(void)
Line 159  usage(void)
   
         fprintf(stderr, "usage: %s "          fprintf(stderr, "usage: %s "
                         "[-I] "                          "[-I] "
                         "[-a arch] "                          "[-S arch] "
                         "[-c cat] "                          "[-s section] "
                         "[-t type[,...]] "                          "[-t type[,...]] "
                         "key\n", progname);                          "key\n", progname);
 }  }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

CVSweb