Description of problem: ``` $ oc adm release extract -h ... Usage: oc adm release extract [flags] Examples: # Use git to check out the source code for the current cluster release to DIR %[1]s --git=DIR ``` ``` $ oc adm release info -h ... Usage: oc adm release info IMAGE [--changes-from=IMAGE] [--verify|--commits|--pullspecs] [flags] Examples: # Show information about the cluster's current release %[1]s # Show the source code that comprises a release %[1]s 4.2.2 --commit-urls # Show the source code difference between two releases %[1]s 4.2.0 4.2.2 --commits # Show where the images referenced by the release are located %[1]s quay.io/openshift-release-dev/ocp-release:4.2.2 --pullspecs ``` Version-Release number of selected component (if applicable): ``` $ oc version --client Client Version: 4.4.3 ``` How reproducible: Run the previous commands Steps to Reproduce: 1. Download the oc command from https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/4.4.3/ 2. Run the previous commands 3. Actual results: Wrong expansion I guess Expected results: Proper expansion Additional info:
This is fixed in the latest version of oc.
[root@dhcp-140-138 ~]# oc adm release extract -h ...... Usage: oc adm release extract [flags] Examples: # Use git to check out the source code for the current cluster release to DIR oc adm release extract --git=DIR [root@dhcp-140-138 ~]# oc version -o yaml clientVersion: buildDate: "2020-05-07T22:03:52Z" compiler: gc gitCommit: f415627b3a8df305c4dd0ada0b4bc1271846a777 gitTreeState: clean gitVersion: 4.5.0-202005072157-f415627 goVersion: go1.13.4 major: "" minor: "" platform: linux/amd64
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:2409