Fix command-line parsing.