[Bash-completion-devel] Is there any template for bash-completion scripts?

Ville Skyttä ville.skytta at iki.fi
Thu Dec 16 19:24:07 UTC 2010


On Thursday 16 December 2010, Yong Sun wrote:
> Hi, guys,
> 
> I'm very interested in bash-completion, and quite new in this area.
> I'm wondering is there any template for auto completing command
> options?

If I understand correctly what you're after, for some examples see how 
_longopt (and perhaps _parse_help) are used in bash-completion.



More information about the Bash-completion-devel mailing list