summaryrefslogtreecommitdiff
path: root/completions/bash
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2020-04-29 10:51:02 -0400
committerQi Wang <qiwan@redhat.com>2020-05-05 15:01:32 -0400
commit1090d4d5d99410b5433330516a4ea3f5e5a27375 (patch)
tree1dde472b1b5b5cf8b6b48dca84bd289a3e581618 /completions/bash
parentfb6eca50ba9e2dc652da0c33c72db70ab9da85e9 (diff)
downloadpodman-1090d4d5d99410b5433330516a4ea3f5e5a27375.tar.gz
podman-1090d4d5d99410b5433330516a4ea3f5e5a27375.tar.bz2
podman-1090d4d5d99410b5433330516a4ea3f5e5a27375.zip
manifest annotate
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'completions/bash')
-rw-r--r--completions/bash/podman27
1 files changed, 27 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index d6e9408c6..61af7ac59 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -1782,6 +1782,33 @@ _podman_manifest_add() {
esac
}
+_podman_manifest_annotate() {
+ local options_with_args="
+ --annotation
+ --arch
+ --features
+ --os
+ --os-features
+ --os-version
+ --variant
+ "
+
+ local boolean_options="
+ --help
+ -h
+ "
+
+ _complete_ "$options_with_args" "$boolean_options"
+ case "$cur" in
+ -*)
+ COMPREPLY=($(compgen -W "$boolean_options $options_with_args" -- "$cur"))
+ ;;
+ *)
+ __podman_complete_images --id
+ ;;
+ esac
+}
+
_podman_manifest_create() {
local boolean_options="
--all