Fixed an index issue when printing command line options.