about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-01-24 17:18:54 -0800
committerEric Wong <e@80x24.org>2021-01-26 18:51:31 +0000
commit97b286ab94b69293d8b58a280321560b79c1afeb (patch)
tree1b5025dba14d4dc13852b227a6d2ecb8b68c44f5 /lib/PublicInbox
parent29b172ed031f6c48b0cb6219845d8d737ee4b3ae (diff)
downloadpublic-inbox-97b286ab94b69293d8b58a280321560b79c1afeb.tar.gz
The default deduplication command-line arguments would be
non-sensical for such an option and probably confusing.  It
doesn't seem worth the code to support OID-only output when it's
easy enough to use one of the JSON formats to extract the same
info.

We also don't have OIDs if using remotes, and the
to-be-implemented memoization will be optional.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/LEI.pm3
-rw-r--r--lib/PublicInbox/LeiOverview.pm4
2 files changed, 2 insertions, 5 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index 378113e8..09eac58c 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -200,7 +200,8 @@ my %OPTDESC = (
                         'message/object output format' ],
 'mark        format|f=s' => $stdin_formats,
 'forget        format|f=s' => $stdin_formats,
-'q        format|f=s' => [ 'OUT|maildir|mboxrd|mboxcl2|mboxcl|html|oid|json',
+'q        format|f=s' => [
+        'OUT|maildir|mboxrd|mboxcl2|mboxcl|html|json|jsonl|concatjson',
                 'specify output format, default depends on --output'],
 'ls-query        format|f=s' => $ls_format,
 'ls-external        format|f=s' => $ls_format,
diff --git a/lib/PublicInbox/LeiOverview.pm b/lib/PublicInbox/LeiOverview.pm
index 880c7acc..ea35871c 100644
--- a/lib/PublicInbox/LeiOverview.pm
+++ b/lib/PublicInbox/LeiOverview.pm
@@ -286,10 +286,6 @@ sub ovv_each_smsg_cb { # runs in wq worker usually
                                 $buf = '';
                         }
                 }
-        } elsif ($self->{fmt} eq 'oid') {
-                sub {
-                        my ($smsg, $mitem) = @_;
-                }
         } # else { ...
 }