summaryrefslogtreecommitdiff
path: root/completions/bash/podman
diff options
context:
space:
mode:
Diffstat (limited to 'completions/bash/podman')
-rw-r--r--completions/bash/podman36
1 files changed, 35 insertions, 1 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index 0abf9e738..40be0018b 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -877,6 +877,7 @@ _podman_container_restore() {
--tcp-established
--ignore-rootfs
--ignore-static-ip
+ --ignore-static-mac
"
case "$prev" in
-i|--import)
@@ -979,6 +980,7 @@ _podman_network_create() {
--driver
--gateway
--ip-range
+ --macvlan
--subnet
"
local boolean_options="
@@ -1141,6 +1143,21 @@ _podman_container() {
esac
}
+_podman_system_reset() {
+ local options_with_args="
+ "
+ local boolean_options="
+ -h
+ --help
+ --force
+ "
+ case "$cur" in
+ -*)
+ COMPREPLY=($(compgen -W "$boolean_options $options_with_args" -- "$cur"))
+ ;;
+ esac
+}
+
_podman_system_df() {
local options_with_args="
--format
@@ -1192,6 +1209,7 @@ _podman_system() {
df
info
prune
+ reset
"
__podman_subcommands "$subcommands" && return
@@ -1243,6 +1261,7 @@ _podman_build() {
--no-cache
--pull
--pull-always
+ --pull-never
--quiet
-q
--rm
@@ -1340,6 +1359,7 @@ _podman_exec() {
--detach-keys
-e
--env
+ --env-file
--user
-u
--workdir
@@ -1561,6 +1581,7 @@ _podman_images() {
--filter
-h
--help
+ --history
--no-trunc
--notruncate
-n
@@ -2003,7 +2024,7 @@ _podman_container_run() {
return
;;
--env|-e)
- # we do not append a "=" here because "-e VARNAME" is legal systax, too
+ # we do not append a "=" here because "-e VARNAME" is legal syntax, too
COMPREPLY=( $( compgen -e -- "$cur" ) )
__podman_nospace
return
@@ -2148,10 +2169,13 @@ _podman_rm() {
local boolean_options="
--all
-a
+ --cidfile
--force
-f
--help
-h
+ --ignore
+ -i
--latest
-l
--storage
@@ -2424,8 +2448,11 @@ _podman_stop() {
local boolean_options="
--all
-a
+ --cidfile
-h
--help
+ --ignore
+ -i
--latest
-l
"
@@ -2807,9 +2834,12 @@ _podman_images_prune() {
_podman_container_prune() {
local options_with_args="
+ --filter
"
local boolean_options="
+ -f
+ --force
-h
--help
"
@@ -2986,6 +3016,8 @@ _podman_pod_rm() {
--all
--help
-h
+ --ignore
+ -i
-f
--force
--latest
@@ -3036,6 +3068,8 @@ _podman_pod_stop() {
-a
--cleanup
--help
+ --ignore
+ -i
-h
--latest
-l