Systemd/src
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
..
ac-power unit: add ConditionACPower= 2012-12-31 21:24:26 +01:00
activate Unify parse_argv style 2014-08-03 21:46:07 -04:00
analyze Unify parse_argv style 2014-08-03 21:46:07 -04:00
ask-password Unify parse_argv style 2014-08-03 21:46:07 -04:00
backlight backlight: Do not clamp brightness for LEDs 2014-06-10 18:57:48 +02:00
binfmt Unify parse_argv style 2014-08-03 21:46:07 -04:00
boot Unify parse_argv style 2014-08-03 21:46:07 -04:00
bootchart Unify parse_argv style 2014-08-03 21:46:07 -04:00
bus-proxyd Unify parse_argv style 2014-08-03 21:46:07 -04:00
cgls Unify parse_argv style 2014-08-03 21:46:07 -04:00
cgroups-agent cgroups-agent: down-grade log level 2013-11-25 17:40:53 +01:00
cgtop Unify parse_argv style 2014-08-03 21:46:07 -04:00
compat-libs build-sys: build compat libs from sources, avoiding the not generally available ifunc wrapping 2014-02-22 21:28:55 +01:00
core Unify parse_argv style 2014-08-03 21:46:07 -04:00
cryptsetup Reject invalid quoted strings 2014-07-31 04:00:31 -04:00
dbus1-generator Let config_parse open file where applicable 2014-07-16 18:47:20 -04:00
debug-generator debug-generator: add new kernel cmdline option systemd.wants= to add units to the initial transaction 2014-06-20 13:36:28 +02:00
delta Unify parse_argv style 2014-08-03 21:46:07 -04:00
detect-virt Unify parse_argv style 2014-08-03 21:46:07 -04:00
efi-boot-generator efi-boot-generator: typo fix 2014-03-07 02:40:24 +01:00
escape Unify parse_argv style 2014-08-03 21:46:07 -04:00
firstboot Unify parse_argv style 2014-08-03 21:46:07 -04:00
fsck fsck: consider a fsck implementation linked to /bin/true non-existant 2014-06-25 10:04:36 +02:00
fstab-generator fstab-generator: fix trivial leak 2014-07-07 18:36:55 -04:00
getty-generator Reject invalid quoted strings 2014-07-31 04:00:31 -04:00
gpt-auto-generator stop complaining about unknown kernel cmdline options 2014-06-19 16:55:20 +02:00
gudev gudev: replace regex with sym file 2014-06-21 16:25:15 +02:00
hostname Unify parse_argv style 2014-08-03 21:46:07 -04:00
initctl core: make sure PrivateDevices= makes /dev/log available 2014-06-04 16:59:13 +02:00
journal Unify parse_argv style 2014-08-03 21:46:07 -04:00
journal-remote Unify parse_argv style 2014-08-03 21:46:07 -04:00
kernel-install build-sys: add missing Makefile link 2014-06-16 12:33:23 +02:00
libsystemd Unify parse_argv style 2014-08-03 21:46:07 -04:00
libsystemd-network sd-dhcp-server: avoid returning garbage value 2014-08-03 20:42:59 +02:00
libsystemd-terminal terminal/subterm: use usec_t instead of "unsigned long" 2014-07-29 13:00:35 +02:00
libudev Revert "libudev: use get_*_creds from shared rather than util_lookup_*" 2014-08-01 22:33:20 +02:00
locale Unify parse_argv style 2014-08-03 21:46:07 -04:00
login Unify parse_argv style 2014-08-03 21:46:07 -04:00
machine Unify parse_argv style 2014-08-03 21:46:07 -04:00
machine-id-setup Unify parse_argv style 2014-08-03 21:46:07 -04:00
modules-load Unify parse_argv style 2014-08-03 21:46:07 -04:00
network Unify parse_argv style 2014-08-03 21:46:07 -04:00
notify Unify parse_argv style 2014-08-03 21:46:07 -04:00
nspawn Unify parse_argv style 2014-08-03 21:46:07 -04:00
nss-myhostname nss: always explicitly reset all error variables 2014-08-01 16:06:39 +02:00
nss-mymachines nss: always explicitly reset all error variables 2014-08-01 16:06:39 +02:00
nss-resolve nss: always explicitly reset all error variables 2014-08-01 16:06:39 +02:00
path Unify parse_argv style 2014-08-03 21:46:07 -04:00
python-systemd Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
quotacheck stop complaining about unknown kernel cmdline options 2014-06-19 16:55:20 +02:00
random-seed random-seed: improve debugging messages a bit 2013-11-15 22:53:14 -05:00
rc-local-generator rc-local: use access(X_OK) to check if files are executable 2013-10-29 19:34:59 +01:00
readahead Unify parse_argv style 2014-08-03 21:46:07 -04:00
remount-fs Introduce _cleanup_endmntent_ 2013-10-03 22:13:55 -04:00
reply-password util: replace close_nointr_nofail() by a more useful safe_close() 2014-03-18 19:31:34 +01:00
resolve resolved: avoid possible dereference of null pointer 2014-08-03 23:01:57 +02:00
resolve-host Unify parse_argv style 2014-08-03 21:46:07 -04:00
rfkill rfkill: Avoid error when state restore is disabled 2013-12-06 16:44:38 +01:00
run Unify parse_argv style 2014-08-03 21:46:07 -04:00
shared Move BTRFS_IOC_DEVICES_READY to missing.h 2014-08-03 00:28:12 -04:00
shutdownd Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
sleep Unify parse_argv style 2014-08-03 21:46:07 -04:00
socket-proxy Unify parse_argv style 2014-08-03 21:46:07 -04:00
sysctl Unify parse_argv style 2014-08-03 21:46:07 -04:00
system-update-generator system-update-generator: modernizations 2014-06-13 13:26:32 +02:00
systemctl Unify parse_argv style 2014-08-03 21:46:07 -04:00
systemd sd-dhcp-client: allow the max dhcp message size to be set to the MTU of the link 2014-08-01 16:34:50 +02:00
sysusers Unify parse_argv style 2014-08-03 21:46:07 -04:00
sysv-generator Properly report invalid quoted strings 2014-07-31 08:56:03 -04:00
test Unify parse_argv style 2014-08-03 21:46:07 -04:00
timedate Unify parse_argv style 2014-08-03 21:46:07 -04:00
timesync Properly report invalid quoted strings 2014-07-31 08:56:03 -04:00
tmpfiles Unify parse_argv style 2014-08-03 21:46:07 -04:00
tty-ask-password-agent Unify parse_argv style 2014-08-03 21:46:07 -04:00
udev Unify parse_argv style 2014-08-03 21:46:07 -04:00
update-done update-done: include a short description in .updated 2014-07-26 15:08:42 -04:00
update-utmp Remove unnecessary casts in printfs 2014-05-15 15:29:58 +02:00
vconsole vconsole-setup: fix inverted error messages 2014-07-07 08:55:58 -04:00
.gitignore Add test coverage and generate report with lcov 2013-07-13 21:56:33 -04:00
Makefile