Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 667254

Summary: ipa sudocmd gives wrong examples in help output
Product: [Retired] freeIPA Reporter: Thorsten Scherf <tscherf>
Component: ipa-admintoolsAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: low    
Version: 2.0CC: benl, dpal, jgalipea, jr.aquino
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: freeipa-2.0.0-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-28 09:39:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
1 line fix for typo in the example none

Description Thorsten Scherf 2011-01-04 23:13:06 UTC
Description of problem:
ipa help sudocmd gives wrong examples:

# ipa help sudocmd
Sudo Commands

Commands used as building blocks for sudo

EXAMPLES:

 Create a new commnad
   ipa sudocmd-add --description='For reading log files' /usr/bin/less


This doesn't work. The option "description" is not valid:
# ipa sudocmd-add --description='For reading log files' /usr/bin/less
Usage: ipa [global-options] sudocmd-add COMMAND

ipa: error: no such option: --description

The option is called "desc" as stated in ipa sudocmd --help:
# ipa sudocmd-add --help
Usage: ipa [global-options] sudocmd-add COMMAND

Options:
  -h, --help     show this help message and exit
  --desc=STR     A description of this command
[...]





Version-Release number of selected component (if applicable):
ipa-admintools-2.0.0.pre1-0.fc14.i686

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Dmitri Pal 2011-01-05 16:21:26 UTC
https://fedorahosted.org/freeipa/ticket/704

Comment 2 Jr Aquino 2011-01-06 15:53:38 UTC
Created attachment 472084 [details]
1 line fix for typo in the example