add command line options and list mode.