Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-33121

oc-mirror v2 allows the usage of wrong flags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.16.0
    • oc / oc-mirror
    • No
    • CLID Sprint 254
    • 1
    • False
    • Hide

      None

      Show
      None

      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.

            luzuccar@redhat.com Luigi Mario Zuccarelli
            rh-ee-aguidi Alex Guidi
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: