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>
Jacob Keller committed
Feb 29, 2016 at 14:58 UTC
717416ca87edcd3889e40d8191fd4b6721e8a02e
1 file changed
+1
-1
builtin/submodule--helper.c
+1
-1
@@ -187,7 +187,7 @@ static int module_clone(int argc, const char **argv, const char *prefix)
187
const char *const git_submodule_helper_usage[] = {
188
N_("git submodule--helper clone [--prefix=<path>] [--quiet] "
189
"[--reference <repository>] [--name <name>] [--url <url>]"
190
- "[--depth <depth>] [--] [<path>...]"),
190
+ "[--depth <depth>] [--path <path>]"),
191
NULL
192
};
193