mirror: Exit when invalid command line options are given to sync-mirrors.

This commit is contained in:
Timo Makinen 2015-05-28 13:34:35 +03:00
parent 116bfa50e0
commit 16b1b084e6

View file

@ -50,6 +50,10 @@ while getopts "vhln" c ; do
NOOP=" (DRY RUN)"
EXTRA_OPTS="${EXTRA_OPTS} -n"
;;
*)
usage
exit 1
;;
esac
done