On Mon, Apr 26, 2010 at 10:46:00PM -0400, Douglas Calvert wrote:
> The ept-cache man page says:
> 
>         " -s method, --sort=method
>          sort order (use 'list' for a list of supported options)."
> 
> 
> However when you try to have it print the list it errors out:
> 
> # ept-cache search --sort list
> invalid sort type (use 'list' for a list). Context:
>     parsing sort type

Note that the man page says "--sort=method", not "--sort method".  If you
interpret that literally, it works:

ept-cache search --sort=list

So the bug here seems to be that --foo bar apparently isn't treated the same as
--foo=bar, while it often is by option parsing code (and so users will tend to
expect it to be).  And the error message would probably be clearer if it said
something like:

invalid sort type '' (use 'list' for a list)

Cheers,
    Olly



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to