Description of problem:
Version shown for `oc-mirror --v2 version` should be similar to `oc-mirror version`
Version-Release number of selected component (if applicable):
oc-mirror version WARNING: This version information is deprecated and will be replaced with the output from --short. Use --output=yaml|json to get the full version. Client Version: version.Info{Major:"", Minor:"", GitVersion:"4.16.0-202403070215.p0.gc4f8295.assembly.stream.el9-c4f8295", GitCommit:"c4f829512107f7d0f52a057cd429de2030b9b3b3", GitTreeState:"clean", BuildDate:"2024-03-07T03:46:24Z", GoVersion:"go1.21.7 (Red Hat 1.21.7-1.el9) X:strictfipsruntime", Compiler:"gc", Platform:"linux/amd64"}
How reproducible:
always
Steps to Reproduce:
1) `oc-mirror –v2 -v`
Actual results:
oc-mirror --v2 -v--v2 flag identified, flow redirected to the oc-mirror v2 version. PLEASE DO NOT USE that. V2 is still under development and it is not ready to be used. oc-mirror version v2.0.0-dev-01
Expected results:
oc-mirror version --output=yaml clientVersion: buildDate: "2024-03-07T03:46:24Z" compiler: gc gitCommit: c4f829512107f7d0f52a057cd429de2030b9b3b3 gitTreeState: clean gitVersion: 4.16.0-202403070215.p0.gc4f8295.assembly.stream.el9-c4f8295 goVersion: go1.21.7 (Red Hat 1.21.7-1.el9) X:strictfipsruntime major: "" minor: "" platform: linux/amd64
- clones
-
OCPBUGS-31083 Incorrect help info for loglevel when using --v2 flag
- Closed
- is cloned by
-
OCPBUGS-31085 Remove the “--v2 flag identified” information
- Closed
- links to
-
RHEA-2024:0041 OpenShift Container Platform 4.16.z bug fix update