Change from getopt to argparse
Closes #2 (closed)
This is a patch originally sent to the mailing list (with mangled leading whitespace) hand applied in an editor, then reformatted with ruff.
This will conflict with !52 (merged) which fixes the getopt usage statements, but I expect this to take more review/discussion while the other fix is a pretty obvious short term win.
Edited by Caleb Maclennan