mirror: Exit when invalid command line options are given to sync-mirrors.
This commit is contained in:
parent
116bfa50e0
commit
16b1b084e6
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,10 @@ while getopts "vhln" c ; do
|
|||
NOOP=" (DRY RUN)"
|
||||
EXTRA_OPTS="${EXTRA_OPTS} -n"
|
||||
;;
|
||||
*)
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue