[CentOS] rpm command option

Wed May 6 07:49:51 UTC 2020
Peter Kjellström <cap at nsc.liu.se>

On Wed, 6 May 2020 00:00:48 +0000 (UTC)
Chris Olson via CentOS <centos at centos.org> wrote:

> We located an application recommended by one of customers
> for sharing certain data.  It was available for installation
> using a few different methods.  Using yum was also recommended
> for the installation.  The install instructions began with
> what appeared to be a fairly typical command as indicated
> below (with the URL slightly altered).
> 
> sudo rpm --import https://rpm.xxxxx.com/rpmrepo.key
> 
> To our junior employee assigned to perform the install
> on a test system, it seemed like a good idea to do some
> checking on the rpm option --import indicated in those
> instructions.  They did not find the --import in any of
> the 14 pages of the CentOS 7 man page for rpm.

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

/Peter