Bug 1131704

Summary: Shorten getcert help text
Product: Red Hat Enterprise Linux 7 Reporter: Keenan Brock <kbrock>
Component: certmongerAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED ERRATA QA Contact: Kaleem <ksiddiqu>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.1CC: dpal, jcholast, nsoman
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: certmonger-0.78.1-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 11:58:57 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 Keenan Brock 2014-08-19 20:59:19 UTC
Description of problem:

Certmonger's getcert command displays help.

If the secondary command is provided, the help is great. e.g.: getcert request

If the secondary command is not provided, help for every sub command is provided. This is intimidating.

Instead, please provide a list of sub commands.
This will work the same way that getcert man pages work.

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

latest (and before)
certmonger-0.75.13-0.20140818T1524Zgit0ed42b6.el6.x86_64

How reproducible:

Always

Steps to Reproduce:

1. getcert | wc -l

Actual results:

225

Expected results:


10

look similar to the results from `man getcert`

        getcert request [options]
        getcert resubmit [options]
        getcert start-tracking [options]
        getcert status [options]
        getcert stop-tracking [options]
        getcert list [options]
        getcert list-cas [options]
        getcert refresh-cas [options]

Additional info:

Comment 2 Nalin Dahyabhai 2015-03-19 15:50:52 UTC
This was changed upstream in 0.76, so we can fix it here by rebasing.

Comment 4 Kaleem 2015-09-15 17:52:53 UTC
Verified.

[root@dhcp207-229 ~]# rpm -q certmonger
certmonger-0.78.4-1.el7.x86_64
[root@dhcp207-229 ~]# 

[root@dhcp207-229 ~]# getcert 
getcert - client certificate enrollment tool

Usage: getcert command [options]
request        	request a new certificate from a CA
start-tracking 	begin monitoring an already-issued certificate
stop-tracking  	stop monitoring a certificate
resubmit       	resubmit an in-progress enrollment request, or start a new one
refresh        	check on the status of an in-progress enrollment request
list           	list certificates being monitored and requested
status         	check the status of a certificate being monitored or requested
add-ca         	add a CA configuration
add-scep-ca    	add an SCEP CA configuration
list-cas       	list known CA configurations
modify-ca      	modify a CA configuration
refresh-ca     	refresh cache of all information obtained from a CA
remove-ca      	remove a CA configuration
[root@dhcp207-229 ~]#

Comment 5 errata-xmlrpc 2015-11-19 11:58:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2365.html