Re: [PATCH 2/2] ls-tree: migrate to parse-options

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Monday, November 16, 2009 - 11:22 pm

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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] Migrate ls-tree to parse-opts, Stephen Boyd, (Fri Nov 13, 9:34 pm)
[PATCH 1/2] t3101: test more ls-tree options, Stephen Boyd, (Fri Nov 13, 9:34 pm)
[PATCH 2/2] ls-tree: migrate to parse-options, Stephen Boyd, (Fri Nov 13, 9:34 pm)
Re: [PATCH 1/2] t3101: test more ls-tree options, Junio C Hamano, (Mon Nov 16, 11:21 pm)
Re: [PATCH 2/2] ls-tree: migrate to parse-options, Junio C Hamano, (Mon Nov 16, 11:22 pm)
Re: [PATCH 1/2] t3101: test more ls-tree options, Stephen Boyd, (Mon Nov 16, 11:26 pm)
Re: [PATCH 2/2] ls-tree: migrate to parse-options, Stephen Boyd, (Mon Nov 16, 11:28 pm)
Re: [PATCH 2/2] ls-tree: migrate to parse-options, Stephen Boyd, (Tue Nov 17, 12:02 am)
Re: [PATCH 2/2] ls-tree: migrate to parse-options, Junio C Hamano, (Wed Nov 18, 3:19 pm)
Re: [PATCH 2/2] ls-tree: migrate to parse-options, Thiago Farina, (Wed Nov 18, 4:10 pm)