Bug 74545 - Getopt error with --help
Summary: Getopt error with --help
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: redhat-config-packages
Version: null
Hardware: i586
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-09-26 13:11 UTC by -M
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-09-26 13:17:24 UTC
Embargoed:


Attachments (Terms of Use)

Description -M 2002-09-26 13:11:59 UTC
Description of Problem:

redhat-config-packages --help will cause the following error:

Traceback (most recent call last):
  File "/usr/share/redhat-config-packages/SinglePackageWindow.py", line 204, in ?
    (args, extra) = getopt.getopt(sys.argv[1:], 't:', ['tree=','isodir='])
  File "/usr/lib/python2.2/getopt.py", line 72, in getopt
    opts, args = do_longs(opts, args[0][2:], longopts, args[1:])
  File "/usr/lib/python2.2/getopt.py", line 86, in do_longs
    has_arg, opt = long_has_args(opt, longopts)
  File "/usr/lib/python2.2/getopt.py", line 103, in long_has_args
    raise GetoptError('option --%s not recognized' % opt, opt)
getopt.GetoptError: option --help not recognized

Comment 1 -M 2002-09-26 13:17:17 UTC
Opps sorry that was redhat-install-packages --help

Comment 2 Jeremy Katz 2002-09-26 14:35:10 UTC
This has been fixed up with the package in rawhide


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