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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.2
    • Component/s: Parser
    • Labels:
      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

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development