From 30e9ab9d119d28c2630446948d1d4446311e421d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 9 Feb 2021 07:09:34 -0100 Subject: lei q: prefix --alert ops with ':' instead of '-' 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. --- lib/PublicInbox/LeiOverview.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/PublicInbox/LeiOverview.pm') 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; -- cgit v1.2.3-24-ge0c7