Hide Forgot
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
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.