1. put command line flags into a struct.