Browse Source

Add zsh completion for 'docker {create,run,update} --memory-reservation'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Steve Durrheimer 9 years ago
parent
commit
3a8fb8de4f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      contrib/completion/zsh/_docker

+ 1 - 0
contrib/completion/zsh/_docker

@@ -511,6 +511,7 @@ __docker_subcommand() {
     opts_create_run_update=(
     opts_create_run_update=(
         "($help)--blkio-weight=[Block IO (relative weight), between 10 and 1000]:Block IO weight:(10 100 500 1000)"
         "($help)--blkio-weight=[Block IO (relative weight), between 10 and 1000]:Block IO weight:(10 100 500 1000)"
         "($help)--kernel-memory=[Kernel memory limit in bytes.]:Memory limit: "
         "($help)--kernel-memory=[Kernel memory limit in bytes.]:Memory limit: "
+        "($help)--memory-reservation=[Memory soft limit]:Memory limit: "
     )
     )
 
 
     case "$words[1]" in
     case "$words[1]" in