sauvegarde_mysql: stop on unknown option
This commit is contained in:
parent
68ec8f8812
commit
b4c974309a
1 changed files with 5 additions and 0 deletions
|
@ -86,6 +86,11 @@ while getopts hd:B:p:ze:x:X: f; do
|
|||
MYSQLDUMP_EXTRA_ARGS="$OPTARG"
|
||||
;;
|
||||
|
||||
\?)
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
|
||||
esac
|
||||
done
|
||||
shift $( expr $OPTIND - 1 )
|
||||
|
|
Loading…
Reference in a new issue