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>
This commit is contained in:
Stefan Beller 2016-07-28 17:44:06 -07:00 коммит произвёл Junio C Hamano
Родитель 341238ebc4
Коммит 2de26ae1dc
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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);