From 81bd80b8806ef92bdedff67ef97def2acac5583c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 19 Apr 2021 14:48:58 -0900 Subject: [PATCH] lei up: fix help output and ARGV handling We don't support changing search terms once "lei q --save" is used. --- lib/PublicInbox/LEI.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm index f641f0d9..5ee02f64 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -138,8 +138,8 @@ our %CMD = ( # sorted in order of importance/use: sort|s=s reverse|r offset=i pretty jobs|j=s globoff|g augment|a import-before! lock=s@ rsyncable alert=s@ mua=s verbose|v+), @c_opt, opt_dash('limit|n=i', '[0-9]+') ], -'up' => [ 'SEARCH_TERMS...', 'update saved search', - qw(jobs|j=s lock=s@ alert=s@ mua=s verbose|v+), @c_opt ], +'up' => [ 'OUTPUT', 'update saved search', + qw(jobs|j=s lock=s@ alert=s@ mua=s verbose|v+ all), @c_opt ], 'blob' => [ 'OID', 'show a git blob, reconstructing from mail if necessary', qw(git-dir=s@ cwd! verbose|v+ mail! oid-a|A=s path-a|a=s path-b|b=s), -- 2.44.0