I’ve just released Trollop 1.15, which fixes an irritating misfeature pointed out by Rafael Sevilla: when Trollop runs out of characters when it’s generating short option names, e.g. when you have a lot of options, it shouldn’t throw an exception and die. It should just continue peacefully.
Trollop’s reign of domination continues!
The float option doesn’t (yet) handle scientific notation, but it could with this diff from the current Git repo. It adds an optional part to the FLOAT_RE, and a test at the end. Thanks for Trollop, by the way; it is the best command line parser I’ve ever used:
I’ve just released Trollop 1.15, which fixes an irritating misfeature pointed out by Rafael Sevilla: when Trollop runs out of characters when it’s generating short option names, e.g. when you have a lot of options, it shouldn’t throw an exception and die. It should just continue peacefully. Trollop’s reign of domination continues!
— Will
The float option doesn’t (yet) handle scientific notation, but it could with this diff from the current Git repo. It adds an optional part to the FLOAT_RE, and a test at the end.
Newest version is 1.16.2 and this is in it. Thanks again!