depmod: simplify option error handling
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Thu, 11 Jun 2009 14:43:48 +0000 (15:43 +0100)
committerAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Thu, 11 Jun 2009 15:28:44 +0000 (16:28 +0100)
commitb8c5b894e97aa052ecac1ba6615edadb757a0e82
tree0ffadbab857c03632347e09fc8e8d1d641037793
parent6a2e5d58a19c068b2858e553ffbee71e13a0a5ef
depmod: simplify option error handling

Backcompat is removed, so we can exit immediately if we don't recognise
an option.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
depmod.c
tests/test-depmod/10badcommand.sh