CVSROOT: /cvs Module name: src Changes by: [email protected] 2010/11/04 03:17:38
Modified files:
usr.sbin/sysmerge: sysmerge.sh
Log message:
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@
