Unify handling of command-line option parsing
Our function for parsing the command line does not actually set up various command-line-only options, leaving that to be done elsewhere. We should make this table-driven, so we can simplify our code.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information