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

[cli] Really strange parsing behaviour

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 2.0
    • Component/s: CLI-2.x
    • Labels:
      None
    • Environment:

      Operating System: Linux
      Platform: PC

    • Bugzilla Id:
      23515

      Description

      I'm just wondering, who came to glorious idea of storing parsed
      option values on option object itself, while presence of those
      options is stored on command line?

      My scenario: I have static class defining options I would like
      in several related command line applications.

      Sometimes I call those applications from "wrapper" - more than one
      in a live of JVM, and then I fake differrent parameters.

      But cool feature of appending option values to array list inside option
      leads to very unexpected results...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                kpriblouda@yahoo.com Konstantin Pribluda
              • Votes:
                2 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: