mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
fix getops
This commit is contained in:
parent
45ade95b19
commit
beb8c992c1
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ function parse_args() {
|
||||||
# Initialize the index of getopts
|
# Initialize the index of getopts
|
||||||
OPTIND=1
|
OPTIND=1
|
||||||
# Parse with getopts only if the argument begin by -
|
# Parse with getopts only if the argument begin by -
|
||||||
getopts ":b:fihlyr" parameter || true
|
getopts ":b:irsh" parameter || true
|
||||||
case $parameter in
|
case $parameter in
|
||||||
b)
|
b)
|
||||||
# --branch=branch-name
|
# --branch=branch-name
|
||||||
|
|
Loading…
Add table
Reference in a new issue