grouping command line options, note that debug mode is broken