Made some help texts more informative.

This commit is contained in:
Björn Persson 2024-11-03 15:02:40 +01:00 • committed by Tomas Kopecek
commit 45672b69d9

View file

@ -596,9 +596,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")
@ -7588,9 +7592,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)")