[PATCH v6 4/7] submodule: fix submodule--helper clone usage
- From
Jacob Keller <jacob.e.keller@intel.com>
- Date
- Feb 29, 2016, 22:58 UTC
- Message-ID
- <1456786715-24256-5-git-send-email-jacob.e.keller@intel.com>
- In-Reply-To
- <1456786715-24256-1-git-send-email-jacob.e.keller@intel.com>
From: Jacob Keller <jacob.keller@gmail.com>
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> --- builtin/submodule--helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c index 1e18075ed90f..3c4d3ff7f4af 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 };
-- 2.7.1.429.g45cd78e