Non-horrible command line parsing.