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

PosixParser keeps bursting tokens even if a non option character is found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 1.2
    • Parser
    • None

    Description

      PosixParser doesn't stop the bursting process of a token if stopAtNonOption is enabled and a non option character is encountered.

      For example if the options a and b are defined, with stopAtNonOption=true the following command line:

      -azb

      is turned into:

      -a zb -b

      the right output should be:

      -a zb

      Attachments

        Activity

          People

            Unassigned Unassigned
            ebourg Emmanuel Bourg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: