improve parse_command_line