From: Beat Bolli Date: Wed, 19 Jul 2023 22:04:45 GMT Subject: Re: [RFC] short help: allow a gap smaller than USAGE_GAP Message-ID: <98b86433-053b-c44e-05a9-b2e3afd4b4f0@drbeat.li> In-Reply-To: Hi On 19.07.23 00:58, Junio C Hamano wrote: [...] > diff --git a/t/helper/test-parse-options.c b/t/helper/test-parse-options.c > index 00fa281a9c..a4f6e24b0c 100644 > --- a/t/helper/test-parse-options.c > +++ b/t/helper/test-parse-options.c > @@ -133,6 +133,8 @@ int cmd__parse_options(int argc, const char **argv) > OPT_STRING(0, "st", &string, "st", "get another string (pervert ordering)"), > OPT_STRING('o', NULL, &string, "str", "get another string"), > OPT_NOOP_NOARG(0, "obsolete"), > + OPT_SET_INT_F(0, "longhelp", &integer, "help text of this entry\n" > + "spans multiple lines", 0, PARSE_OPT_NONEG), > OPT_STRING_LIST(0, "list", &list, "str", "add str to list"), > OPT_GROUP("Magic arguments"), > OPT_NUMBER_CALLBACK(&integer, "set integer to NUM", I think this chunk should be part of the previous commit. Beat