diff options
author | Eric Wong <e@80x24.org> | 2021-02-09 07:09:34 -0100 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-02-10 06:59:08 +0000 |
commit | 30e9ab9d119d28c2630446948d1d4446311e421d (patch) | |
tree | d3102473a55da4173e0c6d2c04b306fd417121ee /lib/PublicInbox/LeiOverview.pm | |
parent | fa3f0cbcd1af5008e56c77e3c46ab60b5eca3a13 (diff) | |
download | public-inbox-30e9ab9d119d28c2630446948d1d4446311e421d.tar.gz |
Using dashed keywords confuses the option parser without "=" signs (and bash completion doesn't yet work with "="). So use ":" instead of "-" as the prefix for internal ops, since ":" is just as unlikely to be the first character of an executable file in a user's $PATH.
Diffstat (limited to 'lib/PublicInbox/LeiOverview.pm')
-rw-r--r-- | lib/PublicInbox/LeiOverview.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiOverview.pm b/lib/PublicInbox/LeiOverview.pm index 98c89d12..c820f0d7 100644 --- a/lib/PublicInbox/LeiOverview.pm +++ b/lib/PublicInbox/LeiOverview.pm @@ -100,7 +100,7 @@ sub new { return $lei->fail($@) if $@; if ($opt->{mua} && $lei->{l2m}->lock_free) { $lei->{early_mua} = 1; - $opt->{alert} //= [ '-WINCH,-bell' ] if -t $lei->{1}; + $opt->{alert} //= [ ':WINCH,:bell' ] if -t $lei->{1}; } } $self; |