This issue is similar to #2498. For a command that has two options with the same paramLabel:
public enum ECategory {
ALL,
INFO,
DEBUG
}
@Option(names = "--debug", paramLabel = "CATEGORY")
ECategory debugCategory;
@Option(names = "--trace", paramLabel = "CATEGORY")
ECategory traceCategory;
The generated auto complete script generates two functions for the options, but uses the paramLabel as a function name for both, resulting in a duplicate function name.
local CATEGORY_option_args=("ALL" "INFO", "DEBUG") # --debug values
local CATEGORY_option_args=("ALL" "INFO", "DEBUG") # --trace values
This issue is similar to #2498. For a command that has two options with the same
paramLabel:The generated auto complete script generates two functions for the options, but uses the
paramLabelas a function name for both, resulting in a duplicate function name.