From: Junio C Hamano Date: Mon, 28 Aug 2023 15:19:44 GMT Subject: Re: PATCH] parse-options: allow omitting option help text Message-ID: In-Reply-To: <2b08dc43-621d-2170-c4a6-c2aac33a9a19@web.de> René Scharfe writes: > 1b68387e02 (builtin/receive-pack.c: use parse_options API, 2016-03-02) > added the options --stateless-rpc, --advertise-refs and > --reject-thin-pack-for-testing with a NULL `help` string; 03831ef7b5 > (difftool: implement the functionality in the builtin, 2017-01-19) > similarly added the "helpless" option --prompt. Presumably this was > done because all four options are hidden and self-explanatory. > > They cause a NULL pointer dereference when using the option --help-all > with their respective tool, though. Good find. Will apply. Thanks.