Re: [PATCH 2/2] ls-tree: migrate to parse-options
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 18, 2009, 22:19 UTC
- Message-ID
- <7veinvcw7w.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4B024A89.2010108@gmail.com>
Stephen Boyd <bebarino@gmail.com> writes:
Show 13 quoted lines
> Junio C Hamano wrote:
>>
>> @@ -24,7 +24,7 @@ static int chomp_prefix;
>> static const char *ls_tree_prefix;
>> static const char * const ls_tree_usage[] = {
>> - "git ls-tree [-d] [-r] [-t] [-l | --long] [-z] [--name-only] [--name-status] [--full-name] [--full-tree] [--abbrev[=<n>]] <tree-ish> [path...]",
>> + "git ls-tree <options> <tree-ish> [path...]",
>> NULL
>> };
>>
>
> Is it [<options>] or [<options>...] or <options> or even
> <options>... though?Output from "git grep -e '<option' -- '*.c'" indicates that it should be "[<options>]"; thanks for spotting.