Bug 590144

Summary: argument parsing for condor_configure_store (and likely _pool) produce misleading error messages (-add)
Product: Red Hat Enterprise MRG Reporter: Matthew Farrellee <matt>
Component: condor-wallaby-toolsAssignee: Robert Rati <rrati>
Status: CLOSED WONTFIX QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: low Docs Contact:
Priority: low    
Version: DevelopmentCC: matt
Target Milestone: 2.1   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-24 15:00:04 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:

Description Matthew Farrellee 2010-05-07 20:18:43 UTC
$ ./condor_configure_store -add -f Foo
Only 1 action may be specified

The proper argument is of course --add

Expectation is the mistake would be noticed

Comment 1 Robert Rati 2011-08-24 15:00:04 UTC
This is an artifact of python's argument parsing.  But getop and optparse are unable to tell the difference between -add and -a -d -d.  If a and d are valid options, then got argument parsers will handle them as separate arguments.