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

[cli] Really strange parsing behaviour

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0
    • 2.0
    • CLI-2.x
    • None
    • Operating System: Linux
      Platform: PC

    • 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

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

              Dates

                Created:
                Updated:
                Resolved: