mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
helpers2.1: typo in getopts
This commit is contained in:
parent
ed426f05ba
commit
e3bebeac98
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ ynh_handle_getopts_args() {
|
|||
return
|
||||
# Validate that the first char is - because it should be something like --option=value or -o ...
|
||||
elif [[ "${1:0:1}" != "-" ]]
|
||||
then
|
||||
ynh_die "It looks like you called the helper using positional arguments instead of keyword arguments ?"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue