author | Sebastian Harl <sh@tokkee.org> | |
Wed, 10 Dec 2008 21:08:26 +0000 (22:08 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 10 Dec 2008 21:08:26 +0000 (22:08 +0100) | ||
commit | bb3e4316a30349bdbdf98fcfce521b11a7b7d7d4 | |
tree | f1bf55b18682d63a85c65f9b94137be2594f2b50 | tree | snapshot |
parent | 9b031e21c5d0200c2c07c70a592158d29c522391 | commit | diff |
collectd: Abort if any non-options are left over after command-line parsing.
This happens if any arguments not starting with a dash are passed to collectd.
Any of those are invalid, so let the user know about that.
Thanks to Kris (gruntruk) for (unknowingly) pointing that out ;-)
This happens if any arguments not starting with a dash are passed to collectd.
Any of those are invalid, so let the user know about that.
Thanks to Kris (gruntruk) for (unknowingly) pointing that out ;-)
src/collectd.c | diff | blob | history |