@@ -240,7 +240,7 @@ function _picocli_picocompletion-demo-help_sub1() {
240240 local commands=" "
241241 local flag_opts=" "
242242 local arg_opts=" '--num' '--str' '--candidates'"
243- local str2_option_args =(" aaa" " bbb" " ccc" ) # --candidates values
243+ local candidates_str2_option_args =(" aaa" " bbb" " ccc" ) # --candidates values
244244
245245 type compopt & > /dev/null && compopt +o default
246246
@@ -253,7 +253,7 @@ function _picocli_picocompletion-demo-help_sub1() {
253253 ;;
254254 ' --candidates' )
255255 local IFS=$' \n '
256- COMPREPLY=( $( compReplyArray " ${str2_option_args [@]} " ) )
256+ COMPREPLY=( $( compReplyArray " ${candidates_str2_option_args [@]} " ) )
257257 return $?
258258 ;;
259259 esac
@@ -276,7 +276,7 @@ function _picocli_picocompletion-demo-help_sub1_alias() {
276276 local commands=" "
277277 local flag_opts=" "
278278 local arg_opts=" '--num' '--str' '--candidates'"
279- local str2_option_args =(" aaa" " bbb" " ccc" ) # --candidates values
279+ local candidates_str2_option_args =(" aaa" " bbb" " ccc" ) # --candidates values
280280
281281 type compopt & > /dev/null && compopt +o default
282282
@@ -289,7 +289,7 @@ function _picocli_picocompletion-demo-help_sub1_alias() {
289289 ;;
290290 ' --candidates' )
291291 local IFS=$' \n '
292- COMPREPLY=( $( compReplyArray " ${str2_option_args [@]} " ) )
292+ COMPREPLY=( $( compReplyArray " ${candidates_str2_option_args [@]} " ) )
293293 return $?
294294 ;;
295295 esac
@@ -312,7 +312,7 @@ function _picocli_picocompletion-demo-help_sub2() {
312312 local commands=" subsub1 sub2child1-alias subsub2 sub2child2-alias subsub3 sub2child3-alias"
313313 local flag_opts=" "
314314 local arg_opts=" '--num2' '--directory' '-d' '--thread-state' '--<invalid-name>'"
315- local _0123_option_args =(" NEW" " RUNNABLE" " BLOCKED" " WAITING" " TIMED_WAITING" " TERMINATED" ) # --thread-state values
315+ local thread_state__0123_option_args =(" NEW" " RUNNABLE" " BLOCKED" " WAITING" " TIMED_WAITING" " TERMINATED" ) # --thread-state values
316316
317317 type compopt & > /dev/null && compopt +o default
318318
@@ -328,7 +328,7 @@ function _picocli_picocompletion-demo-help_sub2() {
328328 ;;
329329 ' --thread-state' )
330330 local IFS=$' \n '
331- COMPREPLY=( $( compReplyArray " ${_0123_option_args [@]} " ) )
331+ COMPREPLY=( $( compReplyArray " ${thread_state__0123_option_args [@]} " ) )
332332 return $?
333333 ;;
334334 ' --<invalid-name>' )
@@ -360,7 +360,7 @@ function _picocli_picocompletion-demo-help_sub2_alias() {
360360 local commands=" subsub1 sub2child1-alias subsub2 sub2child2-alias subsub3 sub2child3-alias"
361361 local flag_opts=" "
362362 local arg_opts=" '--num2' '--directory' '-d' '--thread-state' '--<invalid-name>'"
363- local _0123_option_args =(" NEW" " RUNNABLE" " BLOCKED" " WAITING" " TIMED_WAITING" " TERMINATED" ) # --thread-state values
363+ local thread_state__0123_option_args =(" NEW" " RUNNABLE" " BLOCKED" " WAITING" " TIMED_WAITING" " TERMINATED" ) # --thread-state values
364364
365365 type compopt & > /dev/null && compopt +o default
366366
@@ -376,7 +376,7 @@ function _picocli_picocompletion-demo-help_sub2_alias() {
376376 ;;
377377 ' --thread-state' )
378378 local IFS=$' \n '
379- COMPREPLY=( $( compReplyArray " ${_0123_option_args [@]} " ) )
379+ COMPREPLY=( $( compReplyArray " ${thread_state__0123_option_args [@]} " ) )
380380 return $?
381381 ;;
382382 ' --<invalid-name>' )
@@ -484,14 +484,14 @@ function _picocli_picocompletion-demo-help_sub2_subsub2() {
484484 local commands=" "
485485 local flag_opts=" "
486486 local arg_opts=" '-u' '--timeUnit' '-t' '--timeout'"
487- local timeUnit_option_args =(" %2$s " ) # --timeUnit values
487+ local timeUnit_timeUnit_option_args =(" %2$s " ) # --timeUnit values
488488
489489 type compopt & > /dev/null && compopt +o default
490490
491491 case ${prev_word} in
492492 ' -u' |' --timeUnit' )
493493 local IFS=$' \n '
494- COMPREPLY=( $( compReplyArray " ${timeUnit_option_args [@]} " ) )
494+ COMPREPLY=( $( compReplyArray " ${timeUnit_timeUnit_option_args [@]} " ) )
495495 return $?
496496 ;;
497497 ' -t' |' --timeout' )
@@ -523,14 +523,14 @@ function _picocli_picocompletion-demo-help_sub2_sub2child2_alias() {
523523 local commands=" "
524524 local flag_opts=" "
525525 local arg_opts=" '-u' '--timeUnit' '-t' '--timeout'"
526- local timeUnit_option_args =(" %2$s " ) # --timeUnit values
526+ local timeUnit_timeUnit_option_args =(" %2$s " ) # --timeUnit values
527527
528528 type compopt & > /dev/null && compopt +o default
529529
530530 case ${prev_word} in
531531 ' -u' |' --timeUnit' )
532532 local IFS=$' \n '
533- COMPREPLY=( $( compReplyArray " ${timeUnit_option_args [@]} " ) )
533+ COMPREPLY=( $( compReplyArray " ${timeUnit_timeUnit_option_args [@]} " ) )
534534 return $?
535535 ;;
536536 ' -t' |' --timeout' )
@@ -682,14 +682,14 @@ function _picocli_picocompletion-demo-help_sub2_alias_subsub2() {
682682 local commands=" "
683683 local flag_opts=" "
684684 local arg_opts=" '-u' '--timeUnit' '-t' '--timeout'"
685- local timeUnit_option_args =(" %2$s " ) # --timeUnit values
685+ local timeUnit_timeUnit_option_args =(" %2$s " ) # --timeUnit values
686686
687687 type compopt & > /dev/null && compopt +o default
688688
689689 case ${prev_word} in
690690 ' -u' |' --timeUnit' )
691691 local IFS=$' \n '
692- COMPREPLY=( $( compReplyArray " ${timeUnit_option_args [@]} " ) )
692+ COMPREPLY=( $( compReplyArray " ${timeUnit_timeUnit_option_args [@]} " ) )
693693 return $?
694694 ;;
695695 ' -t' |' --timeout' )
@@ -721,14 +721,14 @@ function _picocli_picocompletion-demo-help_sub2_alias_sub2child2_alias() {
721721 local commands=" "
722722 local flag_opts=" "
723723 local arg_opts=" '-u' '--timeUnit' '-t' '--timeout'"
724- local timeUnit_option_args =(" %2$s " ) # --timeUnit values
724+ local timeUnit_timeUnit_option_args =(" %2$s " ) # --timeUnit values
725725
726726 type compopt & > /dev/null && compopt +o default
727727
728728 case ${prev_word} in
729729 ' -u' |' --timeUnit' )
730730 local IFS=$' \n '
731- COMPREPLY=( $( compReplyArray " ${timeUnit_option_args [@]} " ) )
731+ COMPREPLY=( $( compReplyArray " ${timeUnit_timeUnit_option_args [@]} " ) )
732732 return $?
733733 ;;
734734 ' -t' |' --timeout' )
0 commit comments