fix getops

This commit is contained in:
Kay0u 2020-12-25 22:17:29 +01:00
parent 45ade95b19
commit beb8c992c1
No known key found for this signature in database
GPG key ID: AE1DCADB6415A156

View file

@ -65,7 +65,7 @@ function parse_args() {
# Initialize the index of getopts
OPTIND=1
# Parse with getopts only if the argument begin by -
getopts ":b:fihlyr" parameter || true
getopts ":b:irsh" parameter || true
case $parameter in
b)
# --branch=branch-name