Description of problem: Command line tool rhqctl doesn't work as expected: 'rhqctl --help install' not showing help Version-Release number of selected component (if applicable): 4.10.0-SNAPSHOT How reproducible: always Steps to Reproduce: 1. run rhqclt --help install Actual results: runs the installation process Expected results: displays a help Additional info: In the help there should be a mention about the possible '--start' switch.
rhqctl -h says: usage: rhqctl <cmd> [options] where <cmd> is one of: console <[options]> Starts an RHQ service in the foreground. Only --server or --storage is supported. To start the agent in the foreground, use the <RHQ_AGENT_HOME>/bin/rhq-agent.(sh|bat) script. install <[options]> Installs RHQ services. restart <[options]> Restarts RHQ services. start <[options]> Starts RHQ services. status <[options]> Check status of RHQ services stop <[options]> Stops RHQ services upgrade <[options]> Upgrades RHQ services from an earlier installed version * For help on a specific command: rhqctl <cmd> --help * Limit commands to a single component with one of: --storage, --server, --agent
Same issue for 'rhqctl -h upgrade'. Instead of showing help, it tries to upgrade the system.
Actually the help is printed eventually, I just wasn't patient enough. The issue was that I had installed agent by rpm in the past so there was a warning displayed and 30s sleeping interval for a user to have a chance to read the message (I had no idea about that). So the help was printed after those 30 seconds of waiting. I would like to add a check if user wants to print only help, the warning about rpm agent will not displayed.
bb6f4c87b 705dca8bf 589b486d6 491fb0481 5367acfe1 9458df431 9bd875794
Bulk closing of RHQ 4.11 issues, now that RHQ 4.12 is out. If you find an issue with those, please open a new BZ, linking to the old one.