summaryrefslogtreecommitdiff
path: root/completions/bash
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-03-15 15:00:18 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-03-16 13:55:49 +0000
commit2724434369037938f5dceaf7bf8268d4d5ce1a68 (patch)
tree92254cdf40bfb937fe405eec2b51a9c18705cbb6 /completions/bash
parent8840b92da603f9db5ba2590f4b0836ad580fbe56 (diff)
downloadpodman-2724434369037938f5dceaf7bf8268d4d5ce1a68.tar.gz
podman-2724434369037938f5dceaf7bf8268d4d5ce1a68.tar.bz2
podman-2724434369037938f5dceaf7bf8268d4d5ce1a68.zip
Add 'podman restart' command
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #503 Approved by: rhatdan
Diffstat (limited to 'completions/bash')
-rw-r--r--completions/bash/podman10
1 files changed, 10 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index d4334d68b..5df1eaa36 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -1312,6 +1312,16 @@ _podman_run() {
_podman_container_run
}
+_podman_restart() {
+ local options_with_args="
+ --timeout -t
+ "
+ local boolean_options="
+ --latest
+ -l"
+ _complete_ "$options_with_args" "$boolean_options"
+}
+
_podman_rm() {
local boolean_options="
--all