adjust usage for download-build command

This commit is contained in:
Mike McLean 2025-01-03 15:37:54 -05:00
parent cd25b8ddde
commit 661a5cb3e8

View file

@ -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] <n-v-r | build_id | package>"
"[download] Download a completed build"
usage = "usage: %prog download-build [options] <n-v-r|build_id>"
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)")