Fix command line option bug