vid2mov: add default cause for arg parsing

This commit is contained in:
Guilherme Rugai Freire 2021-08-20 15:43:46 -03:00
parent 076b28e285
commit fb03e7ed00
No known key found for this signature in database
GPG Key ID: 0F9FE41723A8A297

View File

@ -27,10 +27,10 @@ CONFIRMATION=""
while getopts "hi:o::y" ARG; do
case $ARG in
h) usage ; exit 0;;
i) VIDEO_PATH=$OPTARG;;
o) OUT_PATH=$OPTARG;;
y) CONFIRMATION="-y";;
h | *) usage ; exit 0;;
esac
done