Description of problem: The help example of the `oc adm catalog build` should NOT display the: oc adm catalog mirror --appregistry-org=redhat-operators --to=file://offline/redhat-operators:4.3 ... Version-Release number of selected component (if applicable): [jzhang@dhcp-140-36 ~]$ oc version Client Version: 4.4.0-0.nightly-2020-02-04-032141 How reproducible: always Steps to Reproduce: 1. Run command: `oc adm catalog build --help` Actual results: [jzhang@dhcp-140-36 ~]$ oc adm catalog build --help Builds a catalog container image from a collection operator manifests. Extracts the contents of a collection of operator manifests to disk, and builds them into an operator registry catalog image. Usage: oc adm catalog build [flags] Examples: # Build an operator catalog from an appregistry repo and store in a file oc adm catalog mirror --appregistry-org=redhat-operators --to=file://offline/redhat-operators:4.3 # Build an operator catalog from an appregistry repo and mirror to a registry oc adm catalog mirror --appregistry-org=redhat-operators --to=quay.io/my/redhat-operators:4.3 Expected results: Should be `build`, not the `mirror` in the example info: oc adm catalog mirror --appregistry-org=redhat-operators --to=file://offline/redhat-operators:4.3 oc adm catalog mirror --appregistry-org=redhat-operators --to=quay.io/my/redhat-operators:4.3 Additional info:
*** Bug 1798958 has been marked as a duplicate of this bug. ***
[jzhang@dhcp-140-36 ~]$ ./oc version -o yaml clientVersion: buildDate: "2020-02-13T20:11:27Z" compiler: gc gitCommit: 5d7a12f03389b03b651f963cb5ee8ddfa9cff559 gitTreeState: dirty gitVersion: openshift-clients-4.4-51-g5d7a12f0 goVersion: go1.13.4 major: "" minor: "" platform: linux/amd64 releaseClientVersion: 4.4.0-0.nightly-2020-02-13-212616 serverVersion: buildDate: "2019-05-02T11:52:09Z" compiler: gc gitCommit: d4cacc0 gitTreeState: clean gitVersion: v1.11.0+d4cacc0 goVersion: go1.10.8 major: "1" minor: 11+ platform: linux/amd64 [jzhang@dhcp-140-36 ~]$ ./oc adm catalog build --help Builds a catalog container image from a collection operator manifests. Extracts the contents of a collection of operator manifests to disk, and builds them into an operator registry catalog image. Usage: oc adm catalog build [flags] Examples: # Build an operator catalog from an appregistry repo and store in a file oc adm catalog build --appregistry-org=redhat-operators --to=file://offline/redhat-operators:4.3 # Build an operator catalog from an appregistry repo and mirror to a registry oc adm catalog build --appregistry-org=redhat-operators --to=quay.io/my/redhat-operators:4.3 ... LGTM, verify it.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0581