Re: [PATCH 1/2] parse-options: Add support for dumping out long options
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 15, 2012, 19:23 UTC
- Message-ID
- <7v39842416.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <20120415124919.GD2900@goldbirke>
SZEDER Gábor <szeder@ira.uka.de> writes:
Show 6 quoted lines
> Parse options already has the PARSE_OPT_HIDDEN flag to omit an option > from the default usage. Your patch already respects that option, so > e.g. 'git commit --<TAB>' won't offer '--allow-empty', which is meant > for foreign SCM interface scripts. This is good. > > However, '--force' is different,...
Don't we have enough bits in PARSE_OPT_* namespace so that we can spare one for PARSE_OPT_OMIT_FROM_COMPLETION?