bug
This commit is contained in:
parent
b64cb98dad
commit
ad1d15e9f4
|
@ -3375,7 +3375,7 @@ function simple_menu() {
|
|||
# actuelle de la variable $1(=option)
|
||||
local __sm_title= __sm_yourchoice= __sm_default=
|
||||
local -a __sm_args
|
||||
parse_opts -t: __sm_title -m: __sm_yourchoice -d: __sm_default @ __sm_args -- "$@" &&
|
||||
parse_opts -t: __sm_title= -m: __sm_yourchoice= -d: __sm_default= @ __sm_args -- "$@" &&
|
||||
set -- "${__sm_args[@]}" || ewarn "$__sm_args"
|
||||
|
||||
local __sm_option_var="${1:-option}" __sm_options_var="${2:-options}"
|
||||
|
|
Loading…
Reference in New Issue