RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1274689 - Required parameter with argument should show respective error message
Summary: Required parameter with argument should show respective error message
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: certmonger
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: Kaleem
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-23 11:35 UTC by Abhijeet Kasurde
Modified: 2018-05-31 12:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-31 12:55:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Abhijeet Kasurde 2015-10-23 11:35:48 UTC
Description of problem:
When ipa-getcert is requested with required parameter with argument, command simply shows detail help message. Instead, it should show particular fail message related to particular parameter.

For example,

# ipa-getcert request -d /tmp/sample -n cacertreq -t ipa-getcert - client certificate enrollment tool

Usage: ipa-getcert request [options]

Required arguments:

If using an NSS database for storage: -d DIR NSS database for key and cert -n NAME nickname for NSS-based storage (only valid with -d) -t NAME optional token name for NSS-based storage (only valid with -d)
Here, '-t' is required parameter with argument, but ipa-getcert show detail help message, instead of telling user about '-t' option requirements.

How reproducible:
100%

Actual results:
ipa-getcert shows full help message

Expected results:
ipa-getcert should show exact argument and parameter missing.

Additional Info : 
Upstream ticket - https://fedorahosted.org/certmonger/ticket/44


Note You need to log in before you can comment on or make changes to this bug.