Skip to content

Commit 2f52c96

Browse files
committed
fixup??? survey: stub in new experimental 'git-survey' command
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent f0af0a4 commit 2f52c96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builtin/survey.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -902,8 +902,8 @@ int cmd_survey(int argc, const char **argv, const char *prefix, struct repositor
902902
OPT_END(),
903903
};
904904

905-
if (argc == 2 && !strcmp(argv[1], "-h"))
906-
usage_with_options(survey_usage, survey_options);
905+
show_usage_with_options_if_asked(argc, argv,
906+
survey_usage, survey_options);
907907

908908
if (isatty(2))
909909
color_fprintf_ln(stderr,

0 commit comments

Comments
 (0)