Re: [PATCH 2/2] ls-tree: migrate to parse-options
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 17, 2009, 06:22 UTC
- Message-ID
- <7vpr7hisc7.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1258173248-31059-3-git-send-email-bebarino@gmail.com>
Thanks.
As parse-options infrastructure gives much better per-option help text, there is not much point to keep the list of options that can go stale in the usage text.
I'd squash this to yours. Ok?
--- builtin-ls-tree.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/builtin-ls-tree.c b/builtin-ls-tree.c index 04408df..14a913a 100644 --- a/builtin-ls-tree.c +++ b/builtin-ls-tree.c @@ -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 };
-- 1.6.5.3.283.g4b054