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

CLI Option reports arguments incorrectly on toString()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1
    • 1.2
    • CLI-1.x
    • None

    Description

      The Option class contains some logic around the "hasArg" boolean that seems to be cruft and no longer works correctly. There is no need for this boolean anymore and its only usage could be replaced with hasArg() / hasArgs() calls.

      Attachments

        1. option.patch
          1 kB
          Henning Schmiedehausen
        2. CLI-141-clean.patch
          2 kB
          Bjorn Townsend

        Activity

          People

            Unassigned Unassigned
            henning Henning Schmiedehausen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: