Skip to content

Commit 914df86

Browse files
author
Damien Nadé
committed
argsparse-completion.sh: __argsparse_complete_value: declaring values as array, as it should be
1 parent 2c84035 commit 914df86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

argsparse-completion.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ __argsparse_complete_printf() {
3434
__argsparse_complete_value() {
3535
local option=$1
3636
local array option_type
37-
local values
37+
local -a values
3838
if array=$(__argsparse_values_array_identifier "$option")
3939
then
4040
values=( ${!array} )

0 commit comments

Comments
 (0)