]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiHelp.pm
lei: replace --thread with --threads
[public-inbox.git] / lib / PublicInbox / LeiHelp.pm
index e62298f7d8176b9595235c479174ce6db1d5a6d5..a654e1c2bb2281b737ac9e422881765d2d6d7627 100644 (file)
@@ -40,7 +40,7 @@ sub call {
                        @vals = (' [', undef, ']');
                } elsif ($x =~ s/=.+//) { # required arg: $x = "type=s"
                        @vals = (' ', undef);
-               } # else: no args $x = 'thread|t'
+               } # else: no args $x = 'threads|t'
 
                # we support underscore options from public-inbox-* commands;
                # but they've never been documented and will likely go away.
@@ -48,7 +48,7 @@ sub call {
                for (grep { !/_/ && !$NOHELP{$_} } split(/\|/, $x)) {
                        length($_) > 1 ? push(@l, "--$_") : push(@s, "-$_");
                }
-               if (!scalar(@vals)) { # no args 'thread|t'
+               if (!scalar(@vals)) { # no args 'threads|t'
                } elsif ($arg_vals =~ s/\A([A-Z_]+)\b//) { # "NAME"
                        $vals[1] = $1;
                } else {