Bug 1015421 - rpm --help nor man rpm mentions --import option
Summary: rpm --help nor man rpm mentions --import option
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-04 08:13 UTC by Jiri Pospisil
Modified: 2013-10-04 12:21 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-04 12:21:33 UTC
Type: Bug


Attachments (Terms of Use)

Description Jiri Pospisil 2013-10-04 08:13:31 UTC
Description of problem:
I just found out, that widely used option "--import" of the rpm binary isn't mentioned anywhere in 'rpm --help' nor 'man rpm'. If I understand it correctly, rpm uses the binary 'rpmkeys' for such operation. This option is mentioned in both help and man of rpmkeys. I think it would be advisable to include it even in help and man of rpm itself.

Version-Release number of selected component (if applicable):
rpm-4.11.1-3.fc19.x86_64

How reproducible:
always

Steps to Reproduce:
1. rpm --help | grep -e "--import"
2. man rpm | grep -e "--import"

Actual results:
nothing found

Expected results:
"--import" is documented

Comment 1 Panu Matilainen 2013-10-04 12:21:33 UTC
As you noticed, --import is documented where the functionality is: rpmkeys --help and manual. 'rpm --import', along with numerous other similar things (rpmdb- and signing operations etc) are nothing but backwards-compatibility glue to avoid breaking every related script in the world. The use of these "hidden" backwards-compatibility switches is deprecated and that's one of the reasons they're only documented in the "new" places.


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