summaryrefslogtreecommitdiff
path: root/builtin/submodule--helper.c
diff options
context:
space:
mode:
authorJacob Keller <jacob.keller@gmail.com>2016-02-29 22:58:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-03-01 20:24:05 (GMT)
commit717416ca87edcd3889e40d8191fd4b6721e8a02e (patch)
tree19554d86607e2dd474c028962ba18e8c0672b4e9 /builtin/submodule--helper.c
parent08e0970a862aaa3b42c532ad0086bcaabe5108cf (diff)
downloadgit-717416ca87edcd3889e40d8191fd4b6721e8a02e.zip
git-717416ca87edcd3889e40d8191fd4b6721e8a02e.tar.gz
git-717416ca87edcd3889e40d8191fd4b6721e8a02e.tar.bz2
submodule: fix submodule--helper clone usage
git submodule--helper clone usage stated that paths were added after the [--] argument. The actual implementation required use of --path argument and only supports one path at a time. Update the usage string to match the current implementation. Signed-off-by: Jacob Keller <jacob.keller@gmail.com> Reviewed-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/submodule--helper.c')
-rw-r--r--builtin/submodule--helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
index 1e18075..3c4d3ff 100644
--- a/builtin/submodule--helper.c
+++ b/builtin/submodule--helper.c
@@ -187,7 +187,7 @@ static int module_clone(int argc, const char **argv, const char *prefix)
const char *const git_submodule_helper_usage[] = {
N_("git submodule--helper clone [--prefix=<path>] [--quiet] "
"[--reference <repository>] [--name <name>] [--url <url>]"
- "[--depth <depth>] [--] [<path>...]"),
+ "[--depth <depth>] [--path <path>]"),
NULL
};