diff options
author | Jacob Keller <jacob.keller@gmail.com> | 2016-02-29 14:58:32 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-03-01 12:24:05 -0800 |
commit | 717416ca87edcd3889e40d8191fd4b6721e8a02e (patch) | |
tree | 19554d86607e2dd474c028962ba18e8c0672b4e9 /builtin/submodule--helper.c | |
parent | 08e0970a862aaa3b42c532ad0086bcaabe5108cf (diff) | |
download | git-717416ca87edcd3889e40d8191fd4b6721e8a02e.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c index 1e18075ed9..3c4d3ff7f4 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 }; |