attribute splitSynopsisLabel
: incorrect usage message
#1044
Labels
Milestone
splitSynopsisLabel
: incorrect usage message
#1044
Picocli 4.3.0 introduced the attribute
splitSynopsisLabel
, which is great.I encountered a minor issue when trying out the new attribute:
This now results in a proper usage message:
Usage: ExecuteTest [x=<parts>[|<parts>...]]...
Now I remove the attribute
split
from the option while leaving the the attributesplitSynopsisLabel
in place:17 @Option(names = "x", splitSynopsisLabel = "|")
I'm still getting the same usage message (which is incorrect now):
Usage: ExecuteTest [x=<parts>[|<parts>...]]...
I see two possible remedies:
splitSynopsisLabel
, check whether corresponding attributesplit
is given, throw an exception in case of missing attributesplit
attribute is missingThe text was updated successfully, but these errors were encountered: