[jboss-jira] [JBoss JIRA] (AS7-4096) The "--command(s)" argument doesn't work
Ron Šmeral (JIRA)
jira-events at lists.jboss.org
Thu Mar 8 12:31:36 EST 2012
[ https://issues.jboss.org/browse/AS7-4096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675243#comment-12675243 ]
Ron Šmeral commented on AS7-4096:
---------------------------------
Ah, sorry, should have read the help more carefully.
Still, the "Duplicate argument '\-\-command'/'\-\-commands'." message is quite misleading in that case. It is what lead me to filing this "issue" (instead of RTFM) after all.
> The "--command(s)" argument doesn't work
> ----------------------------------------
>
> Key: AS7-4096
> URL: https://issues.jboss.org/browse/AS7-4096
> Project: Application Server 7
> Issue Type: Bug
> Components: CLI
> Affects Versions: 7.1.0.Final
> Environment: Fedora 16 64-bit, Oracle JDK 1.6.0_30
> Reporter: Ron Šmeral
> Assignee: Alexey Loubyansky
>
> *Current behaviour*
> {noformat}
> $> jboss-cli.sh --commands "connect,version"
> Duplicate argument '--command'/'--commands'.
> {noformat}
> *Expected behaviour*
> {noformat}
> $> jboss-cli.sh --commands "connect,version"
> JBoss Admin Command-line Interface
> ...
> {noformat}
> It works, however, when the \-\-command/\-\-commands is omitted completely, as in:
> {noformat}
> $> jboss-cli.sh "connect,version"
> {noformat}
> Therefore, the command/commands arguments should probably be removed from help and usage, if this is the correct behaviour.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list