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

Allow to specify options with a single argument that will be split into multiple arguments

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2
    • None
    • CLI-1.x

    Description

      I've explained the issue in that thread:
      http://www.mail-archive.com/user@commons.apache.org/msg06483.html

      As hinted there, a solution might be to allow that the (single) argument of an "Option" (cf. "hasArg()") be split according to a user-defined regexp pattern. If given a split pattern, the code would convert a single-arg "Option" into a multiple-args one (where the arguments are the result of splitting the single-arg string with the pattern).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            erans Gilles Sadowski

            Dates

              Created:
              Updated:

              Slack

                Issue deployment