=================================================================== RCS file: /cvs/mandoc/Attic/apropos.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -p -r1.8 -r1.9 --- mandoc/Attic/apropos.c 2011/11/09 01:24:23 1.8 +++ mandoc/Attic/apropos.c 2011/11/09 10:53:48 1.9 @@ -1,4 +1,4 @@ -/* $Id: apropos.c,v 1.8 2011/11/09 01:24:23 kristaps Exp $ */ +/* $Id: apropos.c,v 1.9 2011/11/09 10:53:48 kristaps Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -72,12 +72,12 @@ main(int argc, char *argv[]) else ++progname; - while (-1 != (ch = getopt(argc, argv, "a:c:I:t:"))) + while (-1 != (ch = getopt(argc, argv, "S:s:It:"))) switch (ch) { - case ('a'): + case ('S'): opts.arch = optarg; break; - case ('c'): + case ('s'): opts.cat = optarg; break; case ('I'): @@ -159,8 +159,8 @@ usage(void) fprintf(stderr, "usage: %s " "[-I] " - "[-a arch] " - "[-c cat] " + "[-S arch] " + "[-s section] " "[-t type[,...]] " "key\n", progname); }