[jboss-jira] [JBoss JIRA] (AS7-4096) The "--command(s)" argument doesn't work
Alexey Loubyansky (JIRA)
jira-events at lists.jboss.org
Thu Mar 8 11:27:36 EST 2012
[ https://issues.jboss.org/browse/AS7-4096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Loubyansky resolved AS7-4096.
------------------------------------
Resolution: Rejected
or use '=', i.e. --commands="..."
> 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