Use getopt on the trainer too.