1
0
Fork 0

sauvegarde_mysql: stop on unknown option

This commit is contained in:
Chl 2022-04-30 13:42:57 +02:00
parent 68ec8f8812
commit b4c974309a

View file

@ -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 )