Skip to content

Commit 717416c

Browse files
jacob-kellergitster
authored andcommitted
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>
1 parent 08e0970 commit 717416c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/submodule--helper.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ static int module_clone(int argc, const char **argv, const char *prefix)
187187
const char *const git_submodule_helper_usage[] = {
188188
N_("git submodule--helper clone [--prefix=<path>] [--quiet] "
189189
"[--reference <repository>] [--name <name>] [--url <url>]"
190-
"[--depth <depth>] [--] [<path>...]"),
190+
"[--depth <depth>] [--path <path>]"),
191191
NULL
192192
};
193193

0 commit comments

Comments
 (0)