This commit is contained in:
Jephte CLAIN 2014-12-23 14:16:16 +04:00
parent b64cb98dad
commit ad1d15e9f4
1 changed files with 1 additions and 1 deletions

View File

@ -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}"