collectd: Abort if any non-options are left over after command-line parsing.
authorSebastian Harl <sh@tokkee.org>
Wed, 10 Dec 2008 21:08:26 +0000 (22:08 +0100)
committerSebastian Harl <sh@tokkee.org>
Wed, 10 Dec 2008 21:08:26 +0000 (22:08 +0100)
commitbb3e4316a30349bdbdf98fcfce521b11a7b7d7d4
treef1bf55b18682d63a85c65f9b94137be2594f2b50
parent9b031e21c5d0200c2c07c70a592158d29c522391
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 ;-)
src/collectd.c