diff options
author | Oliver Smith <osmith@sysmocom.de> | 2023-05-10 11:26:49 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2023-05-10 11:41:11 +0200 |
commit | 3dff9ee40c6e5d15dc4b9ccc1002272059ae3c00 (patch) | |
tree | 1c74886b2de2675c3e0bcfe575d178f08f33f3cd | |
parent | badcf3d055ab744c3dd284c0ef9059a565c03adf (diff) |
obs: build_binpkg --docker: set metavar to DISTRO
Make it obvious that the argument passed to --docker is the Linux
distribution that will be used.
$ ./build_binpkg.py -h
usage: build_binpkg.py [-h] [-d [DISTRO]] [-j JOBS] [-r] [-v] package
Change-Id: Ibf6f1a8fce7fd13795f1c25c75e14fb9eb8aa2b6
-rwxr-xr-x | scripts/obs/build_binpkg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/obs/build_binpkg.py b/scripts/obs/build_binpkg.py index f647869..cda0193 100755 --- a/scripts/obs/build_binpkg.py +++ b/scripts/obs/build_binpkg.py @@ -31,7 +31,7 @@ def main(): " with build_srcpkg.py." f" Output dir: {lib.config.path_temp}/binpkgs") parser.add_argument("-d", "--docker", type=arg_type_docker_distro, - const=distro_default, nargs="?", + const=distro_default, nargs="?", metavar="DISTRO", help="build the package in docker for a specific" f" distro (default: {distro_default}, other:" f" almalinux:8, debian:10, ubuntu:22.04 etc.)") |