Systemd/src/network
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
..
.gitignore Revert "update gitignore" 2014-05-22 06:14:41 +09:00
Makefile networkd: add a basic network daemon 2013-11-09 23:41:17 +01:00
network-util.h libsystemd-network: move network-utils from src/shared 2014-03-21 21:54:37 +01:00
networkd-address-pool.c change type for address family to "int" 2014-07-18 16:10:51 +02:00
networkd-address.c resolved: when answer A or AAAA questions, order responses by whether addresses are link-local or not 2014-07-30 00:48:59 +02:00
networkd-link.c networkd: track the MTU of each link 2014-08-01 16:34:50 +02:00
networkd-manager.c networkd: store ifindex as int 2014-07-28 11:46:57 +02:00
networkd-netdev-bond.c networkd: bridge - use USEC_PER_MSEC macros 2014-07-21 20:54:09 +02:00
networkd-netdev-bond.h networkd: add support for bond options 2014-07-21 20:35:21 +02:00
networkd-netdev-bridge.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-bridge.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-dummy.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-dummy.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-gperf.gperf networkd: add support for bond options 2014-07-21 20:35:21 +02:00
networkd-netdev-macvlan.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-macvlan.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-tunnel.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-tunnel.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-tuntap.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-tuntap.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-veth.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-veth.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-vlan.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-vlan.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-vxlan.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev-vxlan.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev.c networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-netdev.h networkd: netdev - split NetDev struct into per-kind structs 2014-07-21 13:32:27 +02:00
networkd-network-gperf.gperf networkd: unify handling of stacked netdevs 2014-07-28 12:16:40 +02:00
networkd-network.c networkd: route/address - use trivial hash functions 2014-07-28 12:21:51 +02:00
networkd-route.c networkd: route/address - use trivial hash functions 2014-07-28 12:21:51 +02:00
networkd-wait-online-link.c networkd-wait-online: fix comilation warning 2014-07-18 13:25:18 +02:00
networkd-wait-online-link.h networkd-wait-online: track links 2014-07-17 22:53:35 +02:00
networkd-wait-online-manager.c networkd-wait-online: fix comilation warning 2014-07-18 13:25:18 +02:00
networkd-wait-online.c Unify parse_argv style 2014-08-03 21:46:07 -04:00
networkd-wait-online.h networkd-wait-online: track links 2014-07-17 22:53:35 +02:00
networkd.c networkd: simplify signal handling of SIGTERM/SIGINT 2014-07-07 23:11:03 +02:00
networkd.h networkd: track the MTU of each link 2014-08-01 16:34:50 +02:00
sd-network.c sd-network: expose DNS/NTP servers as strings 2014-07-23 23:54:52 +02:00
test-network-tables.c test-tables: add new entries 2014-07-16 19:00:03 -04:00
test-network.c sd-network: remove redundant array size parameter from functions that return arrays 2014-07-17 01:42:26 +02:00