With the current v2 implementation there is no validation on the flags, for example it is possible to use -v2 which is not valid. The valid is --v2 with double -
So it is required to create a validation to check if the flags are valid if it is not present in cobra framework.
- is cloned by
-
OCPBUGS-34926 oc-mirror v2 allows the usage of wrong flags
- Closed
- links to
-
RHEA-2024:3718 OpenShift Container Platform 4.17.z bug fix update