[jboss-jira] [JBoss JIRA] (WFLY-8202) CS tool, format Missing required option
Ilia Vassilev (JIRA)
issues at jboss.org
Fri Mar 3 08:53:00 EST 2017
[ https://issues.jboss.org/browse/WFLY-8202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13372286#comment-13372286 ]
Ilia Vassilev commented on WFLY-8202:
-------------------------------------
[~mchoma] The message is formatted by Apache cli lib and it is standard for such tools (see [1]).
[1] http://grepcode.com/file/repo1.maven.org/maven2/commons-cli/commons-cli/1.3.1/org/apache/commons/cli/MissingOptionException.java#MissingOptionException.createMessage%28java.util.List%29
> CS tool, format Missing required option
> ---------------------------------------
>
> Key: WFLY-8202
> URL: https://issues.jboss.org/browse/WFLY-8202
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Reporter: Martin Choma
> Assignee: Ilia Vassilev
> Labels: credential-store, user_experience, wildfly-elytron-tool
>
> There is validation on required option.
> {code}
> [mchoma at localhost bin]$ java -jar wildfly-elytron-tool.jar credential-store
> Missing required option: [-a Add new alias to the credential store, -r Remove alias from the credential store, -e Check if alias exists within the credential store, -v Display all aliases, -h Get help with usage of this command][mchoma at localhost bin]$
> {code}
> However it is one line message. I would prefer mulitline message for readability as
> {code}
> [mchoma at localhost bin]$ java -jar wildfly-elytron-tool.jar credential-store
> Missing one of required options:
> -a Add new alias to the credential store,
> -r Remove alias from the credential store,
> -e Check if alias exists within the credential store,
> -v Display all aliases,
> -h Get help with usage of this command
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list