From ad1d15e9f4c084c6ab56759d500dde512e6048ad Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Tue, 23 Dec 2014 14:16:16 +0400 Subject: [PATCH] bug --- lib/ulib/base | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ulib/base b/lib/ulib/base index 2298d52..bcd967d 100644 --- a/lib/ulib/base +++ b/lib/ulib/base @@ -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}"