From 79387f1f2cea5227b4e37cb6452164399c16da69 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Wed, 9 Sep 2020 15:07:36 +0200 Subject: [PATCH] plugins/cli: use upstream description help text For --repo and --release, use the help text from koji build-image. --- plugins/cli/osbuild.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plugins/cli/osbuild.py b/plugins/cli/osbuild.py index a6170d3..23ec33a 100755 --- a/plugins/cli/osbuild.py +++ b/plugins/cli/osbuild.py @@ -10,9 +10,11 @@ def parse_args(argv): parser = kl.OptionParser(usage=kl.get_usage_str(usage)) - parser.add_option("--repo", metavar="REPO", help='The repository to use', - type=str, action="append", default=[]) - parser.add_option("--release", metavar="RELEASE", help='The distribution release') + parser.add_option("--release", help=_("Forcibly set the release field")) + parser.add_option("--repo", action="append", + help=_("Specify a repo that will override the repo used to install " + "RPMs in the image. May be used multiple times. The " + "build tag repo associated with the target is the default.")) parser.add_option("--image-type", metavar="TYPE", help='Request an image-type [default: qcow2]', type=str, action="append", default=[])