From 661a5cb3e867eae2fc11d29a2a4083e8038043f5 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Fri, 3 Jan 2025 15:37:54 -0500 Subject: [PATCH] adjust usage for download-build command --- cli/koji_cli/commands.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index 562aae52..81c53a42 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -6814,8 +6814,10 @@ def handle_unblock_pkg(goptions, session, args): def anon_handle_download_build(options, session, args): - "[download] Download a built package" - usage = "usage: %prog download-build [options] " + "[download] Download a completed build" + usage = "usage: %prog download-build [options] " + usage += "\n\nDownloads files from the specified build entry" + usage += "\nNote: scratch builds do not have build entries. Use download-task for those" parser = OptionParser(usage=get_usage_str(usage)) parser.add_option("--arch", "-a", dest="arches", metavar="ARCH", action="append", default=[], help="Only download packages for this arch (may be used multiple times)")