cli: remove duplicate download-logs --help text

The get_usage_str() helper already adds this global --help message, so
we do not need to add it.
This commit is contained in:
Ken Dreyer 2021-07-16 16:03:37 -04:00 committed by Tomas Kopecek
parent 9f8b74cdd3
commit d79b11eabc

View file

@ -7120,7 +7120,6 @@ def anon_handle_download_logs(options, session, args):
FAIL_LOG = "task_failed.log"
usage = _("usage: %prog download-logs [options] <task_id> [<task_id> ...]")
usage += _("\n %prog download-logs [options] --nvr <n-v-r> [<n-v-r> ...]")
usage += _("\n(Specify the --help global option for a list of other help options)")
parser = OptionParser(usage=get_usage_str(usage))
parser.add_option("-r", "--recurse", action="store_true",
help=_("Process children of this task as well"))