Bug 253819 - Certwatch doesn't understand option -a because of wrong option parsing
Summary: Certwatch doesn't understand option -a because of wrong option parsing
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: crypto-utils
Version: 7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Joe Orton
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-08-22 06:26 UTC by Tuomo Soini
Modified: 2008-03-06 17:09 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-06 17:09:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to fix certwatch option parsing (405 bytes, patch)
2007-08-22 06:26 UTC, Tuomo Soini
no flags Details | Diff

Description Tuomo Soini 2007-08-22 06:26:11 UTC
Description of problem:

certwatch doesn't parse it's arguements correctly

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

crypto-utils-2.3-2

How reproducible:

always

Steps to Reproduce:
1. man certwatch and check for arguments
2. certwatch -a username cert.pem
3. certwatch: invalid option -- a
  
Actual results:
certwatch refuse to accept option -a

Expected results:

certwatch should parse arguments correctly

Comment 1 Tuomo Soini 2007-08-22 06:26:11 UTC
Created attachment 162030 [details]
Patch to fix certwatch option parsing

Comment 2 Joe Orton 2007-08-22 08:38:31 UTC
Thanks for the patch!  This is built for F8:

http://koji.fedoraproject.org/koji/taskinfo?taskID=117377

Comment 3 Tuomo Soini 2007-08-23 09:45:46 UTC
With my patch options "-p 60" seems to cause segfault. Still something to fix...

Comment 4 Joe Orton 2007-08-23 09:48:43 UTC
Shows I only ever test the --long-style options :)  I've fixed that too.


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