From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id C29881FC0B for ; Sun, 28 Mar 2021 09:01:25 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 07/12] lei help: show "NAME=VALUE" properly for -c Date: Sun, 28 Mar 2021 09:01:19 +0000 Message-Id: <20210328090124.3541-8-e@80x24.org> In-Reply-To: <20210328090124.3541-1-e@80x24.org> References: <20210328090124.3541-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: --- lib/PublicInbox/LeiHelp.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PublicInbox/LeiHelp.pm b/lib/PublicInbox/LeiHelp.pm index 9c1b30a1..fa0e7866 100644 --- a/lib/PublicInbox/LeiHelp.pm +++ b/lib/PublicInbox/LeiHelp.pm @@ -49,7 +49,7 @@ sub call { length($_) > 1 ? push(@l, "--$_") : push(@s, "-$_"); } if (!scalar(@vals)) { # no args 'threads|t' - } elsif ($arg_vals =~ s/\A([A-Z_]+)\b//) { # "NAME" + } elsif ($arg_vals =~ s/\A([A-Z_=]+)\b//) { # "NAME" $vals[1] = $1; } else { $vals[1] = uc(substr($l[0], 2)); # "--type" => "TYPE"