Fix command line parsing bug