=================================================================== RCS file: /cvs/mandoc/Attic/apropos.c,v retrieving revision 1.38 retrieving revision 1.39 diff -u -p -r1.38 -r1.39 --- mandoc/Attic/apropos.c 2014/04/11 15:46:52 1.38 +++ mandoc/Attic/apropos.c 2014/04/20 16:46:04 1.39 @@ -1,4 +1,4 @@ -/* $Id: apropos.c,v 1.38 2014/04/11 15:46:52 schwarze Exp $ */ +/* $Id: apropos.c,v 1.39 2014/04/20 16:46:04 schwarze Exp $ */ /* * Copyright (c) 2012 Kristaps Dzonsons * Copyright (c) 2013 Ingo Schwarze @@ -31,6 +31,7 @@ #include "manpath.h" #include "mansearch.h" + int main(int argc, char *argv[]) { @@ -63,22 +64,22 @@ main(int argc, char *argv[]) while (-1 != (ch = getopt(argc, argv, "C:M:m:O:S:s:"))) switch (ch) { - case ('C'): + case 'C': conf_file = optarg; break; - case ('M'): + case 'M': defpaths = optarg; break; - case ('m'): + case 'm': auxpaths = optarg; break; - case ('O'): + case 'O': outkey = optarg; break; - case ('S'): + case 'S': search.arch = optarg; break; - case ('s'): + case 's': search.sec = optarg; break; default: