reformat command options