diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2010-11-04 09:17:39 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2010-11-04 09:17:39 +0000 |
commit | b3820fad02938cae736bb4066531c3929d307e53 (patch) | |
tree | e25bc36c1a2adc158500babc8f2eb0c4d08fc912 /usr.sbin/tcpdump/afnum.h | |
parent | 69405f4a11c194a14d7adcdae8488a952e729e4b (diff) |
Make sure we don't end up using /usr/src/etc if we forget to pass the
correct option (e.g. 'sysmerge /tmp/etc48.tgz'). Use OPTIND as all args
are handled by getopts we can catch misusage and we exit with an error.
from Brian Poole, thanks.
ok sthen@
Diffstat (limited to 'usr.sbin/tcpdump/afnum.h')
0 files changed, 0 insertions, 0 deletions