lib/Odin.pm, bin/pastebin.userv: Use our own simple option parser.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 24 Jul 2015 17:00:32 +0000 (18:00 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 24 Jul 2015 18:15:52 +0000 (19:15 +0100)
commitf0bcb39a65ff55a0cbe3fced66903c730679150a
treec1c9002988261c98973fe62e3b9d2873cb28a589
parent97a33b9cd6fbde6d8eac854354c6b1326fad2f8e
lib/Odin.pm, bin/pastebin.userv: Use our own simple option parser.

Perl's Getopt::Std doesn't let us handle options which are repeated.
Getopt::Long can do this, but it involves a lot of messing about to set
it up, and it has slightly bizarre option-cuddling behaviour.  So we
implement a very simple option parser and use it instead.
bin/pastebin.userv
lib/Odin.pm