Systemd/src/udev
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
..
accelerometer accelerometer: Don't wait for new data from the sensor 2014-07-08 18:36:53 +02:00
ata_id everywhere: always use O_CLOEXEC where it makes sense 2014-02-13 14:59:56 +01:00
cdrom_id cdrom_id: use the old MMC fallback 2014-02-27 11:12:04 +01:00
collect everywhere: always use O_CLOEXEC where it makes sense 2014-02-13 14:59:56 +01:00
mtd_probe everywhere: always use O_CLOEXEC where it makes sense 2014-02-13 14:59:56 +01:00
net Reject invalid quoted strings 2014-07-31 04:00:31 -04:00
scsi_id Remove dead lines in various places 2014-02-24 19:24:14 -05:00
v4l_id Remove duplicate includes 2013-11-18 20:28:55 -05:00
.gitignore udev: add builtin 'keyboard' to manage key mappings 2013-07-10 22:52:55 +02:00
.vimrc import udev repository 2012-04-03 21:08:04 +02:00
Makefile build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
udev-builtin-blkid.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-builtin-btrfs.c Move BTRFS_IOC_DEVICES_READY to missing.h 2014-08-03 00:28:12 -04:00
udev-builtin-firmware.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-builtin-hwdb.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-builtin-input_id.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-builtin-keyboard.c udev-builtin-keyboard: do tell on which device EVIOCSKEYCODE failed. 2014-06-01 08:05:38 +02:00
udev-builtin-kmod.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-builtin-net_id.c Use dev_port for the ID of a network device. 2014-07-01 15:19:20 +02:00
udev-builtin-net_setup_link.c udev: net_setup_link builtin should print the reason why something fails 2014-07-02 15:13:29 +02:00
udev-builtin-path_id.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-builtin-uaccess.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
udev-builtin-usb_id.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-builtin.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-ctrl.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-event.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-node.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-rules.c Revert "libudev: use get_*_creds from shared rather than util_lookup_*" 2014-08-01 22:33:20 +02:00
udev-watch.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev.conf man: add udev.conf(5) 2014-07-31 08:56:03 -04:00
udev.h udev: unify event timeout handling 2014-07-29 15:18:27 +02:00
udev.pc.in udev.pc: install udev files to /lib/udev rather than /lib/systemd 2012-05-27 15:24:20 +02:00
udevadm-control.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udevadm-hwdb.c udev: make sure we always return a valid error code in trie_store() 2014-02-19 17:53:50 +01:00
udevadm-info.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udevadm-monitor.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udevadm-settle.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udevadm-test-builtin.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udevadm-test.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udevadm-trigger.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udevadm.c Unify parse_argv style 2014-08-03 21:46:07 -04:00
udevd.c Reject invalid quoted strings 2014-07-31 04:00:31 -04:00