Description of problem: If executing "oo-cgroup-template -h", it will say "/usr/bin/oo-cgroup-template: invalid option -- h". Both "-h/--help" should be the help option for the command. Version-Release number of selected component (if applicable): devenv_3672 How reproducible: always Steps to Reproduce: 1. On instance, do "oo-cgroup-template -h" 2. 3. Actual results: [root@ip-10-154-135-205 ~]# oo-cgroup-template -h /usr/bin/oo-cgroup-template: invalid option -- h == Synopsis /usr/bin/oo-cgroup-template: Enable cgroups for a gear This command must be run as root. == Usage To set a cgroup template for a gear with UUID: /usr/bin/oo-cgroup-template --with-container-uuid UUID --template TEMPLATE To set a cgroup template for all gears: /usr/bin/oo-cgroup-template --with-all-containers --template TEMPLATE To list the available cgroup templates: /usr/bin/oo-cgroup-template --templates To list the template for a gear with UUID: /usr/bin/oo-cgroup-template --with-container-uuid UUID Expected results: Option "-h" should be an expected option for help content. Additional info:
Fix here: https://github.com/openshift/origin-server/pull/3426
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/528d99b54ad81986e35e2e40e3c031b17d8bab77 Bug 998420 - Fixed typo in the --help option for oo-cgroup-template
Tested on devenv_3706. [root@ip-10-179-40-138 ~]# oo-cgroup-template -h == Synopsis /usr/bin/oo-cgroup-template: Enable cgroups for a gear This command must be run as root. == Usage To set a cgroup template for a gear with UUID: /usr/bin/oo-cgroup-template --with-container-uuid UUID --template TEMPLATE To set a cgroup template for all gears: /usr/bin/oo-cgroup-template --with-all-containers --template TEMPLATE To list the available cgroup templates: /usr/bin/oo-cgroup-template --templates To list the template for a gear with UUID: /usr/bin/oo-cgroup-template --with-container-uuid UUID == List of arguments -c|--with-container-uuid gear_uuid Unique identifier for the gears -a|--with-all-containers Run on all gears -t|--template template Template to set -s|--templates List templates -d|--debug Enable debug mode -h|--help Print this message [root@ip-10-179-40-138 ~]# oo-cgroup-template --help == Synopsis /usr/bin/oo-cgroup-template: Enable cgroups for a gear This command must be run as root. == Usage To set a cgroup template for a gear with UUID: /usr/bin/oo-cgroup-template --with-container-uuid UUID --template TEMPLATE To set a cgroup template for all gears: /usr/bin/oo-cgroup-template --with-all-containers --template TEMPLATE To list the available cgroup templates: /usr/bin/oo-cgroup-template --templates To list the template for a gear with UUID: /usr/bin/oo-cgroup-template --with-container-uuid UUID == List of arguments -c|--with-container-uuid gear_uuid Unique identifier for the gears -a|--with-all-containers Run on all gears -t|--template template Template to set -s|--templates List templates -d|--debug Enable debug mode -h|--help Print this message So mark it as fixed.