Description of problem: I accidentally run ./rhq-cli.sh -s 10.16.23.170 -r rhqadmin -p rhqadmin instead of ./rhq-cli.sh -s 10.16.23.170 -u rhqadmin -p rhqadmin and no error message was displayed. When you run ./rhq-cli.sh -s 10.16.23.170 -z rhqadmin -p rhqadmin error message is displayed correclty. Version-Release number of selected component (if applicable): Version: 4.6.0-SNAPSHOT Build Number: 73a33d5 How reproducible: Always Steps to Reproduce: 1. run ./rhq-cli.sh -s 10.16.23.170 -r rhqadmin -p rhqadmin Actual results: no error Expected results: Cli: invalid option -- r rhq-cli.sh [-h] [-u user] [-p pass] [-P] [-s host] [-t port] [-v] [-f file]|[-c command] Exception in thread "main" java.lang.IllegalArgumentException: Bad arguments specified on command line at org.rhq.enterprise.client.ClientMain$StartupConfiguration.process(ClientMain.java:124) at org.rhq.enterprise.client.ClientMain.main(ClientMain.java:177)