make command-line args mutually exclusive,fix typo