From: Linus Torvalds Date: Fri, 11 Mar 2022 18:44:41 GMT Subject: Re: [PATCH] parse-options: add per-option flag to stop abbreviation Message-ID: In-Reply-To: On Fri, Mar 11, 2022 at 1:45 AM Ævar Arnfjörð Bjarmason wrote: > > So let's tweak this rule to be more narrowly scoped, now we'll allow > abbreviated options regardless of PARSE_OPT_KEEP_UNKNOWN being set for > parse_options(), but we'll provide individual options an opt-out. By > using that opt-out for "--output-directory" we can have that case work > without overzealously disallowing others. Thanks, this looks much more obvious to me than the odd PARSE_OPT_KEEP_UNKNOWN logic was. And would seem to obviate the need for my hacky short aliases. Linus