]> Sergey Matveev's repositories - public-inbox.git/commitdiff
admin: improve minimum version text
authorEric Wong <e@80x24.org>
Tue, 1 Sep 2020 01:14:59 +0000 (01:14 +0000)
committerEric Wong <e@80x24.org>
Wed, 2 Sep 2020 08:53:53 +0000 (08:53 +0000)
"inboxes 1 inboxes not supported by ..." was non-sensical.
Now it'll show "-V1 inbox not supported by ...", instead.

lib/PublicInbox/Admin.pm

index b8ead6f703984153712640cd1af6928a5c0d060c..fb88e621b021b8b68e47c1524fd9227634abf81a 100644 (file)
@@ -131,7 +131,7 @@ EOF
                }
        }
        if (@old) {
                }
        }
        if (@old) {
-               die "inboxes $min_ver inboxes not supported by $0\n\t",
+               die "-V$min_ver inboxes not supported by $0\n\t",
                    join("\n\t", @old), "\n";
        }
        @ibxs;
                    join("\n\t", @old), "\n";
        }
        @ibxs;