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

Opption parsing does not recognize quotes as end of option

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.3.1
    • None
    • CLI-1.x
    • None

    Description

      A command String like

      -k'option=value'

      does not recognize the string option=value as the parameter of -k.

      Instead -k'option is parsed as the option and value as parameter.

      Workaround: use -k='option=value' instead. But users might think otherwise.

      Attachments

        Activity

          People

            chtompki Rob Tompkins
            ralfEdmundKfW Ralf Edmund Stranzenbach
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: