[CentOS] rpm command option

Wed May 6 12:12:09 UTC 2020
Jonathan Billings <billings at negate.org>

On Wed, May 06, 2020 at 09:49:51AM +0200, Peter Kjellström wrote:
> Well I wouldn't called obvious, but the rpm man page has a "see also"
> for rpmkeys(8) and this man page documents the rpm key related options.
> 
> I don't know how it came to be that rpm --import just quietly
> does rpmkeys --import without documenting it though...

The source has it here:

https://github.com/rpm-software-management/rpm/blob/master/rpmpopt.in#L198

(this is how rpm knows to run rpmkeys for that switch)

It appears that it was introduced in 2010, and the functionality was
removed from rpm in this commit:

https://github.com/rpm-software-management/rpm/commit/3cbda9c03f1feb872397f4afe75988b20746f403

and the man page was updated in this commit:

https://github.com/rpm-software-management/rpm/commit/c6d98322f1d30ca8028efb63bfde24b554abfda1



-- 
Jonathan Billings <billings at negate.org>