Systemd/src/readahead
Zbigniew Jędrzejewski-Szmek 601185b43d Unify parse_argv style
getopt is usually good at printing out a nice error message when
commandline options are invalid. It distinguishes between an unknown
option and a known option with a missing arg. It is better to let it
do its job and not use opterr=0 unless we actually want to suppress
messages. So remove opterr=0 in the few places where it wasn't really
useful.

When an error in options is encountered, we should not print a lengthy
help() and overwhelm the user, when we know precisely what is wrong
with the commandline. In addition, since help() prints to stdout, it
should not be used except when requested with -h or --help.

Also, simplify things here and there.
2014-08-03 21:46:07 -04:00
..
Makefile build-sys: add stub makefiles to subdirs 2012-01-05 16:29:21 +01:00
readahead-analyze.c readahead: fix format string issue 2013-04-25 21:50:48 -04:00
readahead-collect.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
readahead-common.c readahead: avoid gcc warning about format 2014-06-22 15:30:19 -04:00
readahead-common.h use #pragma once instead of foo*foo #define guards 2012-07-19 12:30:59 +02:00
readahead-replay.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
readahead.c Unify parse_argv style 2014-08-03 21:46:07 -04:00
sd-readahead.c errno is positive 2013-04-11 19:13:18 -04:00
test-ssd.c readahead: add test to show fs_on_ssd() result 2014-05-15 15:29:59 +02:00