Description
I have a method with the following:
@ShellOption(valueProvider = ServerValueProvider.class, help = "Choose which server to connect to", value = "-s") @NotBlank String server, @ShellOption(help = "Comma separated list of filegroups to update, no spaces", value = "-f") @NotBlank String filegroups, @ShellOption(help = "Add parameter to commit the update", value = "-c") boolean commit
If I run the app, I get the following error:
install-vareviews -s xlbygg -f j41
2000E:(pos 0): Missing mandatory option, longnames='', shortnames='f'
And if I switch the arguments, I get the following:
install-vareviews -f j14 -s xlbygg
2000E:(pos 0): Missing mandatory option, longnames='', shortnames='s'
So it seems like it does not catch the second argument?
This works fine using Spring Shell 3.0.x but not using version 3.1.0.