From: Stefan Beller Date: Fri, 29 Jul 2016 00:44:06 GMT Subject: [PATCHv3 4/7] submodule--helper: fix usage string for relative-path Message-ID: <20160729004409.2072-5-sbeller@google.com> In-Reply-To: <20160729004409.2072-1-sbeller@google.com> Internally we call the underscore version of relative_path, but externally we present an API with no underscores. Signed-off-by: Stefan Beller --- 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 b22352b..fb90c64 100644 --- a/builtin/submodule--helper.c +++ b/builtin/submodule--helper.c @@ -892,7 +892,7 @@ static int resolve_relative_path(int argc, const char **argv, const char *prefix { struct strbuf sb = STRBUF_INIT; if (argc != 3) - die("submodule--helper relative_path takes exactly 2 arguments, got %d", argc); + die("submodule--helper relative-path takes exactly 2 arguments, got %d", argc); printf("%s", relative_path(argv[1], argv[2], &sb)); strbuf_release(&sb); -- 2.9.2.472.g1ffb07c.dirty