diff options
author | Abdulwasiu Apalowo <abdulwasiuapalowo@gmail.com> | 2023-03-29 14:56:41 +0100 |
---|---|---|
committer | Abdulwasiu Apalowo <abdulwasiuapalowo@gmail.com> | 2023-05-03 15:09:02 +0100 |
commit | 43f1d562f525f69116df43c857a51742c6ca9c4f (patch) | |
tree | bbee6108f09c879030f672ac0108f65fe1afc2b6 | |
parent | c8971e90ac169ee2b539c747f74d96c876debdf9 (diff) | |
download | libvirt-ci-43f1d562f525f69116df43c857a51742c6ca9c4f.zip libvirt-ci-43f1d562f525f69116df43c857a51742c6ca9c4f.tar.gz libvirt-ci-43f1d562f525f69116df43c857a51742c6ca9c4f.tar.bz2 |
commandline: add default tag information to image argument
The default tag is "latest" unless a new tag is explicitly
passed to the image argument like so "ubuntu:22.04" then the
tag becomes "22.04".
Signed-off-by: Abdulwasiu Apalowo <abdulwasiuapalowo@gmail.com>
-rw-r--r-- | lcitool/commandline.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lcitool/commandline.py b/lcitool/commandline.py index 81c1e66..fe2b4fb 100644 --- a/lcitool/commandline.py +++ b/lcitool/commandline.py @@ -84,7 +84,7 @@ class CommandLine: imageopt.add_argument( "image", help="Image to use (accepts plain names, image IDs, \ - full registry paths and tags)", + full registry paths and tags - if no tag is provided 'latest' is assumed)", ) container_projectopt = argparse.ArgumentParser(add_help=False) |