We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e38bd2 commit c797111Copy full SHA for c797111
argsparse.sh
@@ -713,7 +713,7 @@ __argsparse_values_array_identifier() {
713
# of an option with the cumulative or cumulativeset property.
714
# @param option an option name.
715
local option=$1
716
- local array="option_${option}_values"
+ local array="option_$(argsparse_option_to_identifier "$option")_values"
717
__argsparse_is_array_declared "$array" || return 1
718
printf %s "$array[@]"
719
}
0 commit comments