[jboss-jira] [JBoss JIRA] (ELY-1035) CS tool, Error msg with mutually exclusive parameters must contain "really" used option names.

Ilia Vassilev (JIRA) issues at jboss.org
Thu Mar 29 22:31:00 EDT 2018


     [ https://issues.jboss.org/browse/ELY-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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 at 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.*



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jboss-jira mailing list