Skip to content

Commit 0a80fc1

Browse files
jacob-kellerdscho
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 <[email protected]> Reviewed-by: Stefan Beller <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent eb77529 commit 0a80fc1

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
@@ -181,7 +181,7 @@ static int module_clone(int argc, const char **argv, const char *prefix)
181181
const char *const git_submodule_helper_usage[] = {
182182
N_("git submodule--helper clone [--prefix=<path>] [--quiet] "
183183
"[--reference <repository>] [--name <name>] [--url <url>]"
184-
"[--depth <depth>] [--] [<path>...]"),
184+
"[--depth <depth>] [--path <path>]"),
185185
NULL
186186
};
187187

0 commit comments

Comments
 (0)