Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.3
    • Component/s: Parser
    • Labels:
      None

      Description

      Partial matching is a common feature among command line processing tools. It allows to use shorter option names as long as the abbreviation is not ambiguous.

      For example on Debian

      ls --he

      is equivalent to

      ls --help

      but

      ls --h

      returns the error "option `--h' is ambiguous", because 'h' is also the prefix of the --hide option.

        Activity

        Hide
        ebourg Emmanuel Bourg added a comment -

        This is fully implemented in the DefaultParser. Even for long options starting with a single dash (-ver) or having an argument (-verbo=9).

        Show
        ebourg Emmanuel Bourg added a comment - This is fully implemented in the DefaultParser. Even for long options starting with a single dash (-ver) or having an argument (-verbo=9).

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development