Fleshing out the API by adding all the options available in argparse. Most of these remain unimplemented but hopefully the API is now more stable for future work.