Open bglmmz opened 3 years ago
.. @Parameter( names = {"--name"}, arity = 1, required = true) private String name; @Parameter( names = {"--class"}, arity = 1, required = true) private String class; ...
the command line is:
MyTest add --name --class one
the error message is:
command 'add' not support option 'one'
but not the expected:
option 'name' cannot be empty
but if the command line is:
MyTest add --class one --name
the error message is expected.
the command line is:
the error message is:
but not the expected:
but if the command line is:
the error message is expected.