diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-20 16:46:04 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-04-20 16:46:04 +0000 |
commit | 29cecee7ff6894517a32d929aecee283bb85058c (patch) | |
tree | a8b7e1f77dc92d5398b03e113570778649b94aba /apropos.c | |
parent | 27178e6666d82be945ee668c2530249f5c728eb6 (diff) | |
download | mandoc-29cecee7ff6894517a32d929aecee283bb85058c.tar.gz mandoc-29cecee7ff6894517a32d929aecee283bb85058c.tar.zst mandoc-29cecee7ff6894517a32d929aecee283bb85058c.zip |
KNF: case (FOO): -> case FOO:, remove /* LINTED */ and /* ARGSUSED */,
remove trailing whitespace and blanks before tabs, improve some indenting;
no functional change
Diffstat (limited to 'apropos.c')
-rw-r--r-- | apropos.c | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -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 <kristaps@bsd.lv> * Copyright (c) 2013 Ingo Schwarze <schwarze@openbsd.org> @@ -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: |