diff --git a/helpers/helpers.v2.1.d/getopts b/helpers/helpers.v2.1.d/getopts index d8373203d..4df68e7ae 100644 --- a/helpers/helpers.v2.1.d/getopts +++ b/helpers/helpers.v2.1.d/getopts @@ -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