submodule--helper: fix usage string for relative-path

Internally we call the underscore version of relative_path, but externally we present an API with no underscores. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Stefan Beller committed Jul 28, 2016 at 17:44 UTC 2de26ae1dc89236ff5d0d0657b0eb884b6c331b5
1 file changed +1 -1
builtin/submodule--helper.c
+1 -1
@@ -892,7 +892,7 @@ static int resolve_relative_path(int argc, const char **argv, const char *prefix
892 {
893 struct strbuf sb = STRBUF_INIT;
894 if (argc != 3)
895 - die("submodule--helper relative_path takes exactly 2 arguments, got %d", argc);
895 + die("submodule--helper relative-path takes exactly 2 arguments, got %d", argc);
896
897 printf("%s", relative_path(argv[1], argv[2], &sb));
898 strbuf_release(&sb);