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

the ability to have long options that only use one hyphen

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 2.0
    • Component/s: CLI-2.x
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      26929

      Description

      This may break some of the parsers and\or some other conventions, but I think
      it would be nice if you could have multi character options that only require
      one hyphen. On programs that have several options, the single hyphen options
      don't seem to be very intuitive. It would be less of an issue if you could
      hide the single hyphen options when you use the help formatter, but as it is
      now the user has to view all of these single hyphen commands that don't really
      mean much to the user.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              daniel.spangler@gmail.com Daniel Spangler
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: