On Tue, Sep 29, 2009 at 7:28 PM, Ville Skyttä <ville.sky...@iki.fi> wrote:
> I'd like to suggest that when we complete available options, we'd generally
> offer only the long options as completions if an option has a short
> option/alias/other counterpart and if it is known that the long option works
> well enough (basically if the long option takes no arguments, or takes an
> argument that can be separated with space (not only "=", but possibly both),
> it is ok).  For example, if let's say -f, -F, and --foo are equivalent, we
> offer only --foo out of them when $cur = -*.

+1
Hadn't thought of it, but completing one-letter options makes little
sense indeed.

Freddy Vulto
http://fvue.nl

_______________________________________________
Bash-completion-devel mailing list
Bash-completion-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel

Reply via email to