Update usage with --codegen and add a couple of other flags.