switch command line options to --XXX-template