]> Sergey Matveev's repositories - public-inbox.git/commit
convert: check ARGV more correctly
authorEric Wong <e@yhbt.net>
Mon, 10 Aug 2020 02:12:04 +0000 (02:12 +0000)
committerEric Wong <e@yhbt.net>
Mon, 10 Aug 2020 06:26:25 +0000 (06:26 +0000)
commit555b33881e340bb65808eaf3f2d334f08b0c6246
tree84a33b20a8057655ab119fd5a7535ccd58288c49
parent3c90d6a62533f87bc865f02fb6df78577c4f0b89
convert: check ARGV more correctly

Instead of silently ignoring excessive args, don't let a user
specify an extra directory.  Furthermore, we'll support the odd
case where BOFH wants to name an $INBOX_DIR to be `0' :P
script/public-inbox-convert