Systemd/src/boot
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
..
boot-efi.c make gcc shut up 2014-02-19 17:53:50 +01:00
boot-loader.c use streq instead of strcmp 2013-02-13 18:14:20 +01:00
boot-loader.h bootctl: add boot loader and firmware interface tool 2013-02-11 19:35:52 +01:00
boot.h bootctl: print secure boot flags 2013-03-10 22:48:27 +01:00
bootctl.c Unify parse_argv style 2014-08-03 21:46:07 -04:00
Makefile boot: add stub Makefile symlink 2013-02-13 02:19:03 +01:00