--rm option shold conflicts with --restart

Signed-off-by: zhangguanzhang <zhangguanzhang@qq.com>
This commit is contained in:
zhangguanzhang
2020-10-02 21:56:04 +08:00
parent ff3aa2b3d1
commit 1492f3c936
4 changed files with 27 additions and 3 deletions

View File

@ -407,7 +407,7 @@ __podman_local_interfaces() {
__podman_complete_restart() {
case "$prev" in
--restart)
COMPREPLY=( $( compgen -W "always no on-failure" -- "$cur") )
COMPREPLY=( $( compgen -W "always no on-failure unless-stopped" -- "$cur") )
return
;;
esac