Re: [PATCH] parse-options: add per-option flag to stop abbreviation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 11, 2022 at 1:45 AM Ævar Arnfjörð Bjarmason
<avarab@xxxxxxxxx> 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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux