path: root/builtin-tar-tree.c
diff options
authorStephan Beyer <>2008-07-13 13:36:15 (GMT)
committerJunio C Hamano <>2008-07-13 21:12:48 (GMT)
commit1b1dd23f2d6a707b7077cdf6bc6d4055bd0bfb7d (patch)
tree6eb5a6d6bd6e5a6db54f1a43ab7931a196f4f814 /builtin-tar-tree.c
parentd492b31cafe9aa5ce001b1d48815f4c0bb40d01a (diff)
Make usage strings dash-less
When you misuse a git command, you are shown the usage string. But this is currently shown in the dashed form. So if you just copy what you see, it will not work, when the dashed form is no longer supported. This patch makes git commands show the dash-less version. For shell scripts that do not specify OPTIONS_SPEC, generates a dash-less usage string now. Signed-off-by: Stephan Beyer <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'builtin-tar-tree.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-tar-tree.c b/builtin-tar-tree.c
index b04719e..f4bea4a 100644
--- a/builtin-tar-tree.c
+++ b/builtin-tar-tree.c
@@ -8,7 +8,7 @@
#include "quote.h"
static const char tar_tree_usage[] =
-"git-tar-tree [--remote=<repo>] <tree-ish> [basedir]\n"
+"git tar-tree [--remote=<repo>] <tree-ish> [basedir]\n"
"*** Note that this command is now deprecated; use git-archive instead.";
int cmd_tar_tree(int argc, const char **argv, const char *prefix)