Get command-line arguments as a parameter to ‘main’.
authorBen Finney <redacted>
Wed, 2 Mar 2016 04:43:44 +0000 (15:43 +1100)
committerBen Finney <redacted>
Wed, 2 Mar 2016 04:43:44 +0000 (15:43 +1100)
commitdfb9444316c739e9f07e6f08855f57e3e62b7f91
tree59c1ef14a5e232e6a6336876ed4eb418aff629a2
parentbbff117248585d6f1d4ecc89f5bd490e09e35585
Get command-line arguments as a parameter to ‘main’.

This makes the ‘main’ function more easily tested: no need for special
patches just for the command-line arguments.
xkcdpass/xkcd_password.py
git clone https://git.99rst.org/PROJECT