about summary refs log tree commit homepage
path: root/lib/PublicInbox
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-10-28 11:14:55 +0000
committerEric Wong <e@80x24.org>2021-10-28 19:17:08 +0000
commitfa2df786060c55578c15295f01d47827f9246b34 (patch)
tree6392371f25351848df7d68a510aa9037c24c6d2c /lib/PublicInbox
parent3c187b8751beecf97da596692384cd2bf4d91d5b (diff)
downloadpublic-inbox-fa2df786060c55578c15295f01d47827f9246b34.tar.gz
The extra dashes should help users find the correct option
more easily.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r--lib/PublicInbox/LeiConvert.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiConvert.pm b/lib/PublicInbox/LeiConvert.pm
index 424eab8e..623599ae 100644
--- a/lib/PublicInbox/LeiConvert.pm
+++ b/lib/PublicInbox/LeiConvert.pm
@@ -51,7 +51,7 @@ sub lei_convert { # the main "lei convert" method
         my $self = bless {}, __PACKAGE__;
         my $ovv = PublicInbox::LeiOverview->new($lei, 'out-format');
         $lei->{l2m} or return
-                $lei->fail("output not specified or is not a mail destination");
+                $lei->fail('--output unspecified or is not a mail destination');
         my $devfd = $lei->path_to_fd($ovv->{dst}) // return;
         $lei->{opt}->{augment} = 1 if $devfd < 0;
         $self->prepare_inputs($lei, \@inputs) or return;