Bug 868119

Summary: Need to add jbossews in the description of rhc threaddump -h
Product: OKD Reporter: Wei Sun <wsun>
Component: ocAssignee: chris alfonso <calfonso>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: low Docs Contact:
Priority: medium    
Version: 2.xCC: hbrock
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-06 18:49:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Wei Sun 2012-10-19 05:27:58 UTC
Description of problem:

Run "rhc theaddump -h" or "rhc -h" ,will see the description of rhc threaddump,like "Trigger a thread dump for JBossAS, JBossEAP, and Ruby applications.".But now we also can trigger a thread dump for JBossEWS,so need to add JBossEWS for the description. And for -n option,has typos,like "-n, --namespace namespace Namespace to add your application to",need to update.

Version-Release number of selected component (if applicable):
devenv_2348
rhc 0.99.9 

How reproducible:
always

Steps to Reproduce:
1.run "rhc threaddump -h"
  rhc threaddump -h

Actual results:

[openshift@localhost ~]$ rhc threaddump -h
Usage: rhc threaddump <application>
Trigger a thread dump for JBossAS, JBossEAP, and Ruby applications.
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ need to add JBossEWS
Options for threaddump
  -n, --namespace namespace Namespace to add your application to
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                             need to update :  Namespace of your application
  -a, --app name            Name of the application on which to execute the thread dump
Global Options
  -l, --rhlogin login       OpenShift login
  -p, --password password   OpenShift password
  -d, --debug               Turn on debugging
  --noprompt                Suppress the interactive setup wizard from running before a command
  --config FILE             Path of a different config file
  -h, --help                Display help documentation
  -v, --version             Display version information
  --timeout seconds         Set the timeout in seconds for network commands

Expected results:
Need to add JBossEWS for the description and update the description of -n option 

Additional info:

Comment 1 Clayton Coleman 2012-10-19 18:06:13 UTC
Update the text to be more generic - JBoss and Ruby applications.

Comment 2 chris alfonso 2012-10-19 19:14:08 UTC
merged to master

Comment 3 Wei Sun 2012-10-22 03:21:07 UTC
verified on devenv_2360,rhc client is build from devenv_2360

Use master rhc client rhc-0.99.10,this bug is not fixed.

Step:
1.rhc threaddump -h

Result:
[root@ip-10-120-205-40 ~]# rhc threaddump -h
Usage: rhc threaddump <application>Trigger a thread dump for JBoss and Ruby applications.Options for threaddump  -n, --namespace namespace Namespace of your application  -a, --app name            Name of the application on which to execute the thread dumpGlobal Options  -l, --rhlogin login       OpenShift login  -p, --password password   OpenShift password  -d, --debug               Turn on debugging  --noprompt                Suppress the interactive setup wizard from running before a command  --config FILE             Path of a different config file  -h, --help                Display help documentation  -v, --version             Display version information  --timeout seconds         Set the timeout in seconds for network commands