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

oc-mirror v2 allows the usage of wrong flags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Normal Normal
    • None
    • 4.16.0
    • oc-mirror
    • No
    • 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:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: