'Adds the -m parameter to get machine readable output.'

def processCommandString(self, username, current_path, command_string):

    arg_match = self.file_arg_re.match(command_string)
    parser = argparse.ArgumentParser()
    parser.add_argument('-6', action='store_true')
    parser.add_argument('-o')
    parser.add_argument('-m')
    self._output_file_path = os.path.join(self.data_path, ('%s_%s_output-%s.xml' % (self.get_ws(), self.id, random.uniform(1, 10))))
    if (arg_match is None):
        final = re.sub('(^.*?amap)', ('\\1    -o    %s    -m    ' % self._file_output_path), command_string)
    else:
        final = re.sub(arg_match.group(1), ('-o    %s    -m    ' % self._file_output_path), command_string)
    cmd = shlex.split(re.sub('\\-h|\\-\\-help', '', final))
    if ('-6' in cmd):
        cmd.remove('-6')
        cmd.insert(1, '-6')
    args = None
    if (len(cmd) > 4):
        try:
            (args, unknown) = parser.parse_known_args(cmd)
        except SystemExit:
            pass
    self.args = args
    return final
