]
Ilia Vassilev updated ELY-1035:
-------------------------------
Comment: was deleted
(was: [~hsvabek] Are you ok with closing this issue since this functionality depend on
apache commons-cli implementation and the way it handles exclusive options error.
Thanks!)
CS tool, Error msg with mutually exclusive parameters must contain
"really" used option names.
----------------------------------------------------------------------------------------------
Key: ELY-1035
URL:
https://issues.jboss.org/browse/ELY-1035
Project: WildFly Elytron
Issue Type: Bug
Reporter: Hynek Švábek
Assignee: Ilia Vassilev
When we use more mutually exclusive parameters (add, remove) then we get error message.
But this message contains only short version of option names.
"r" instead of "remove"
"a" instead of "add"
{code}
[hsvabek@localhost bin]$ java -jar wildfly-elytron-tool.jar credential-store --add
myalias --secret supersecretpassword --location="test.store" --uri
"cr-store://test.store?modifiable=true;create=true;keyStoreType=JCEKS"
--password mycspassword --summary --salt 12345678 --iteration 230 --remove
The option 'r' was specified but an option from this group has already been
selected: 'a'
{code}
*Same for "credential-store" command.*