'build the repoquery cmd options'

def build_cmd(self):

    repo_cmd = []
    repo_cmd.append(('--pkgnarrow=' + self.query_type))
    repo_cmd.append(('--queryformat=' + self.query_format))
    if self.show_duplicates:
        repo_cmd.append('--show-duplicates')
    if self.ignore_excluders:
        repo_cmd.append(('--config=' + self.tmp_file.name))
    repo_cmd.append(self.name)
    return repo_cmd
