From f4576cb255521d4749ffe43954871d4d5688e7f1 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Mon, 24 Jan 2022 09:16:42 +0000 Subject: [PATCH] builder: fix command line argument names Fix the names for various command line arguments for when the builder plugin is invoked as a stand-alone executable. --- plugins/builder/osbuild.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/builder/osbuild.py b/plugins/builder/osbuild.py index dd0c81a..7b88f36 100644 --- a/plugins/builder/osbuild.py +++ b/plugins/builder/osbuild.py @@ -547,9 +547,9 @@ def main(): subpar = sp.add_parser("compose", help='create a new compose') subpar.add_argument("name", metavar="NAME", help='The name') - subpar.add_argument("version", metavar="NAME", help='The version') + subpar.add_argument("version", metavar="VERSION", help='The version') subpar.add_argument("release", metavar="RELEASE", help='The release') - subpar.add_argument("distro", metavar="NAME", help='The distribution') + subpar.add_argument("distro", metavar="DISTRO", help='The distribution') subpar.add_argument("repo", metavar="REPO", help='The repository to use', type=str, action="append", default=[]) subpar.add_argument("arch", metavar="ARCHITECTURE", help='Request the architecture',