Bug 440307 - missing args should be reported correctly
missing args should be reported correctly
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: yum (Show other bugs)
All Linux
low Severity low
: rc
: ---
Assigned To: James Antill
Depends On:
  Show dependency treegraph
Reported: 2008-04-02 14:30 EDT by Jan Hutař
Modified: 2009-01-20 16:44 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-01-20 16:44:38 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan Hutař 2008-04-02 14:30:13 EDT
Description of problem:
Commands like:

yum -R (should fail, stating that an argument is required)


yum -d (should fail, stating that an argument is required)

Should behave same, with error message like "Command line error: -R option 
requires an argument"

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

How reproducible:

Steps to Reproduce:
1. yum -R
2. yum -d

Actual results:
First command reports missing args, second one just outputs list of available 

Expected results:
All these commands (also -c, -e, --installroot...) reports missisng argument
Comment 1 Jan Hutař 2008-04-02 14:32:06 EDT
This was discovered while testing 2008:8129 and James Antill fixed it upstream:

Comment 3 James Antill 2008-09-26 17:02:08 EDT
Add a BZ that's already fixed, just an accounting thing.
Comment 9 errata-xmlrpc 2009-01-20 16:44:38 EST
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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