Re: [PATCH 2/2] ls-tree: migrate to parse-options
- From
Stephen Boyd <bebarino@gmail.com>
- Date
- Nov 17, 2009, 07:02 UTC
- Message-ID
- <4B024A89.2010108@gmail.com>
- In-Reply-To
- <7vpr7hisc7.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 10 quoted lines
>
> @@ -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?