diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2018-09-09 19:36:29 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-09-11 10:54:19 -0700 |
commit | 2f17c78ceb0a861264f7d0335d6aadee14c765ad (patch) | |
tree | 054fd4a9ecd3143cde7cdfd107e98c532789aba2 /t/helper/test-parse-options.c | |
parent | t/helper: merge test-pkt-line into test-tool (diff) | |
download | tgif-2f17c78ceb0a861264f7d0335d6aadee14c765ad.tar.xz |
t/helper: merge test-parse-options into test-tool
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-parse-options.c')
-rw-r--r-- | t/helper/test-parse-options.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/t/helper/test-parse-options.c b/t/helper/test-parse-options.c index 630c76d127..9cb8a0ea0f 100644 --- a/t/helper/test-parse-options.c +++ b/t/helper/test-parse-options.c @@ -1,3 +1,4 @@ +#include "test-tool.h" #include "cache.h" #include "parse-options.h" #include "string-list.h" @@ -94,11 +95,11 @@ static void show(struct string_list *expect, int *status, const char *fmt, ...) strbuf_release(&buf); } -int cmd_main(int argc, const char **argv) +int cmd__parse_options(int argc, const char **argv) { const char *prefix = "prefix/"; const char *usage[] = { - "test-parse-options <options>", + "test-tool parse-options <options>", "", "A helper function for the parse-options API.", NULL |