Description of problem: when we execute the "rhui-manager status --help", it displays the help as : [root@dhcp193-136 ~]# rhui-manager status --help Usage: rhui-manager [options] Options: -h, --help show this help message and exit --code if specified, only a numeric code for the result will be displayed status: RHUI status and health information --code - if specified, only a numeric code for the result will be displayed [root@dhcp193-136 ~]# here we should remove the first occurrence of "--code", because it makes the command like: "rhui-manager --code" and there is no such command. The actual command is "rhui-manager status --code" Version-Release number of selected component (if applicable): pulp 0.171 rhui-tools 2.0.22 How reproducible: everytime Steps to Reproduce: 1. rhui-manager status --help Actual results: -h, --help show this help message and exit --code if specified, only a numeric code for the result will be displayed status: RHUI status and health information --code - if specified, only a numeric code for the result will be displayed [root@dhcp193-136 ~]# Expected results: -h, --help show this help message and exit status: RHUI status and health information --code - if specified, only a numeric code for the result will be displayed [root@dhcp193-136 ~]# Additional info:
Moved to 2.1. I agree it's ugly and should be fixed, but the way I'm doing the CLI functionality it's actually a lot more complicated than it appears it should be. I'll try to get some time for the next release to clean it up.
added to rhui-20 tracker
commit 8b1b800dc8002fac8a936e74b7e1494dd3eddb06 Author: Jay Dobies <jason.dobies> Date: Thu Jan 19 15:41:07 2012 -0500 707148 - Removed duplicate arguments for status rhui-2.0/tools/src/rhui/common/cli.py
Verified with rhui2.0.2 build (RHEL-6.2-RHUI-2.0.2-20120203.1-Server-x86_64-DVD1.iso) having rhui-tools: rh-rhui-tools-2.0.53-1.el6.noarch Redundant info is removed. [root@dhcp201-142 ~]# rhui-manager status --help Usage: rhui-manager [options] Options: -h, --help show this help message and exit status: RHUI status and health information --code - if specified, only a numeric code for the result will be displayed [root@dhcp201-142 ~]#
Released in RHUI 2.0.2