Uploaded image for project: 'Commons CLI'
  1. Commons CLI
  2. CLI-126

CLI2 should support multiple property args on command line

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • CLI-2.x
    • None

    Description

      If I specify a command line like -Dsomekey=value1 -Xsomekey=value2, after parsing the value of somekey is overwritten as WritableCommandLine maintains a single set for all properties irrespective of switch.
      There should be a way of handling this case. CommandLine should probably return a set of all the switches from which we get properties.

      comments? I can submit a patch for this if its ok to make this change.

      Attachments

        1. patchCLI126.patch
          22 kB
          Brian Egge

        Activity

          People

            Unassigned Unassigned
            sanjay.dahiya Sanjay Dahiya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: