Use the OPT_CALLBACK wrapper with "--points-at" instead of an OPTION_CALLBACK block. Signed-off-by: Tom Grennan <tmgrennan@xxxxxxxxx> --- builtin/tag.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/builtin/tag.c b/builtin/tag.c index 9dcd7d2..4a016d5 100644 --- a/builtin/tag.c +++ b/builtin/tag.c @@ -456,10 +456,9 @@ int cmd_tag(int argc, const char **argv, const char *prefix) PARSE_OPT_LASTARG_DEFAULT, parse_opt_with_commit, (intptr_t)"HEAD", }, - { - OPTION_CALLBACK, 0, "points-at", NULL, "object", - "print only tags of the object", 0, parse_opt_points_at - }, + OPT_CALLBACK(0, "points-at", NULL, "object", + "print only tags of the object", + parse_opt_points_at), OPT_END() }; -- 1.7.8 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html