Branch: refs/heads/release/jon3.3.x
Home:
https://github.com/rhq-project/rhq
Commit: 83bb4ab218c49505188bed263b3c6423eae65eea
https://github.com/rhq-project/rhq/commit/83bb4ab218c49505188bed263b3c642...
Author: Thomas Segismont <tsegismo(a)redhat.com>
Date: 2014-10-03 (Fri, 03 Oct 2014)
Changed paths:
M
modules/enterprise/remoting/cli/src/main/java/org/rhq/enterprise/client/ClientMain.java
M
modules/enterprise/remoting/cli/src/main/java/org/rhq/enterprise/client/commands/LoginCommand.java
Log Message:
-----------
Bug 1005426 - Better CLI Parsing and Error reporting
* Unified behavior for CLI script args and "login" command args
* Fixed "login" command:
** support host definition without port definition
** output defaults for host and port
** command syntax message
** show meaningful error messages:
*** for port number format
*** for unsupported transport
*** for exceptions (use exception cause message instead of meaningless JBoss Remoting
exception message)
Also, some code cleanup
(cherry picked from commit 5fec5167ff76c9081203b538db9098ad47765fe2)
Signed-off-by: Jirka Kremser <jkremser(a)redhat.com>
Conflicts:
modules/enterprise/remoting/cli/src/main/java/org/rhq/enterprise/client/commands/LoginCommand.java