Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-1620

gfsh command succeeds even with an invalid argument/option

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 1.0.0-incubating
    • gfsh
    • None

    Description

      With the removal of joptsimple GEODE-835, gfsh command does not fail with an invalid argument. The following command succeeds, but should have failed as foo is not a valid argument:

      gfsh>start locator foo --name=loc1
      

      The following command also succeeds, but should have failed as --bar is not a valid option:

      gfsh>start locator foo --name=loc2 --bar --port=10335
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              swapnil.bawaskar Swapnil Bawaskar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: