Add command line parsing.