aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdulwasiu Apalowo <abdulwasiuapalowo@gmail.com>2023-03-29 14:56:41 +0100
committerAbdulwasiu Apalowo <abdulwasiuapalowo@gmail.com>2023-05-03 15:09:02 +0100
commit43f1d562f525f69116df43c857a51742c6ca9c4f (patch)
treebbee6108f09c879030f672ac0108f65fe1afc2b6
parentc8971e90ac169ee2b539c747f74d96c876debdf9 (diff)
downloadlibvirt-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.py2
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)