From 57f5a9a5be1638ee92a2f0e72028d00d3b83daf3 Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Nov 03 2024 14:02:40 +0000 Subject: Made some help texts more informative. --- diff --git a/cli/koji_cli/commands.py b/cli/koji_cli/commands.py index 0df721c..a03982b 100644 --- a/cli/koji_cli/commands.py +++ b/cli/koji_cli/commands.py @@ -562,9 +562,13 @@ def handle_build(options, session, args): help="Wait on the build, even if running in the background") parser.add_option("--nowait", action="store_false", dest="wait", help="Don't wait on build") parser.add_option("--wait-repo", action="store_true", - help="Wait for a current repo for the build tag") + help="Wait for a current repo for the build tag before " + "building") parser.add_option("--wait-build", metavar="NVR", action="append", dest="wait_builds", - default=[], help="Wait for the given nvr to appear in buildroot repo") + default=[], + help="Wait for the given NVR to appear, and refresh the " + "buildroot repo if needed to include the NVR before " + "building") parser.add_option("--quiet", action="store_true", help="Do not print the task information", default=options.quiet) parser.add_option("--arch-override", help="Override build arches") @@ -7275,9 +7279,11 @@ def anon_handle_wait_repo(options, session, args): parser.add_option("--target", action="store_true", help="Interpret the argument as a build target name") parser.add_option("--request", action="store_true", - help="Create a repo request (requires auth)") + help="Request refreshing the repo and wait until the " + "refresh is done (requires auth)") parser.add_option("--no-request", action="store_false", dest="request", - help="Do not create a repo request (the default)") + help="Do not request refreshing the repo, just wait for " + "it to happen (the default)") parser.add_option("--timeout", type="int", default=120, help="Amount of time to wait (in minutes) before giving up " "(default: 120)")