]> Sergey Matveev's repositories - public-inbox.git/commit
lei q: -I/--include overrides --no-(external|local|remote)
authorEric Wong <e@80x24.org>
Fri, 19 Mar 2021 22:38:49 +0000 (20:38 -0200)
committerEric Wong <e@80x24.org>
Sat, 20 Mar 2021 00:50:45 +0000 (20:50 -0400)
commitaf25645f39a68b02f72d9acd4ed09deb2e995dec
treeb49e74b242bbf940fb3e4ea361fd9e86288cc85b
parent1d1498c6c5d42733bd63bd109076882c5d6e8a2a
lei q: -I/--include overrides --no-(external|local|remote)

Assume that anybody using -I/--include for external locations
will want to override --no-$FOO if they're explicitly including
a location.

With some effort, we could make it order-dependent (e.g.
"-I $LOCATION --no-$FOO" and "--no-$FOO -I $LOCATION"
behave differently).  However that's not straightforward
when using Getopt::Long to parse command-line options into
a hashref.

I'm also not sure if order-dependent switches are a desirable
UI/UX quality.
lib/PublicInbox/LeiQuery.pm
t/lei-externals.t