From 29cecee7ff6894517a32d929aecee283bb85058c Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 20 Apr 2014 16:46:04 +0000 Subject: KNF: case (FOO): -> case FOO:, remove /* LINTED */ and /* ARGSUSED */, remove trailing whitespace and blanks before tabs, improve some indenting; no functional change --- apropos.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'apropos.c') diff --git a/apropos.c b/apropos.c index 48f01bb6..80b6bc6d 100644 --- a/apropos.c +++ b/apropos.c @@ -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: -- cgit v1.2.3-56-ge451