diff options
author | Eric Wong <e@80x24.org> | 2021-05-21 10:28:29 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-05-23 01:33:04 +0000 |
commit | 084dbf65370806af408586603dbc893d3d5cf9bc (patch) | |
tree | ce8efc0af8072c2ed613127f2a99a3633ffe3fe3 /lib | |
parent | 55bed484ed5436b075c069ae9e42fb45890ad7e9 (diff) | |
download | public-inbox-084dbf65370806af408586603dbc893d3d5cf9bc.tar.gz |
This mostly takes after "lei import", and at least --quiet needs to be supported.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/PublicInbox/LEI.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm index d7768426..15680fe3 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -233,6 +233,11 @@ our %CMD = ( # sorted in order of importance/use: 'forget-watch' => [ '{WATCH_NUMBER|--prune}', 'stop and forget a watch', qw(prune), @c_opt ], +'index' => [ 'LOCATION...', 'one-time index from URL or filesystem', + qw(in-format|F=s kw! offset=i recursive|r exclude=s include|I=s + verbose|v+ incremental!), + PublicInbox::LeiQuery::curl_opt(), # mainly for --proxy= + @c_opt ], 'import' => [ 'LOCATION...|--stdin', 'one-time import/update from URL or filesystem', qw(stdin| offset=i recursive|r exclude=s include|I=s |