Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] _git: add completion for git-version
Daniel Shahaf wrote:
> This subcommand is undocumented (except one mention in the release
> notes); is it a public API?
Features being undocumented hasn't necessarily stopped us from
including them in completion in the past. I don't think there's any
established policy on this and it can depend on specific cases. In
some cases you would want completion to understand but not offer
the undocumented match (like ! in _arguments specs). This particular
patch seems reasonable to me as-is.
> «git --version --build-options» also works, but doesn't seem to be
> documented, either.
The output of git --version -h or git version -h mentions it. I'd say
that counts even if the man page omits to mention it.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author