about summary refs log tree commit homepage
path: root/lib/PublicInbox/NetNNTPSocks.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2023-10-02 15:00:23 +0000
committerEric Wong <e@80x24.org>2023-10-02 20:14:34 +0000
commit299aac294ec359a2f069e0e881ef82f55a101def (patch)
tree325945d0982d162e7a8b6d40e5161e051e5904ad /lib/PublicInbox/NetNNTPSocks.pm
parentb8f767e7aecb1c5e54f6dcf60f90491cdfde0624 (diff)
downloadpublic-inbox-299aac294ec359a2f069e0e881ef82f55a101def.tar.gz
Calling vmd_mod_extract after optparse causes the implicit
stdin-as-input functionality to fail, as the implicit stdin
requires a lack of inputs remaining in argv after option
parsing (along with a regular file or pipe as stdin).

This allows commands such as `lei import -F eml +kw:seen'
to work without `--stdin', `-' or any path names when
importing a single message.  This also ensures commands like
`lei import +kw:seen' without any inputs/locations will fail
reliably, as the extra +kw: arg won't be a false-positive.
Diffstat (limited to 'lib/PublicInbox/NetNNTPSocks.pm')
0 files changed, 0 insertions, 0 deletions