瀏覽代碼

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

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Steve Durrheimer 9 年之前
父節點
當前提交
3a8fb8de4f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      contrib/completion/zsh/_docker

+ 1 - 0
contrib/completion/zsh/_docker

@@ -511,6 +511,7 @@ __docker_subcommand() {
     opts_create_run_update=(
         "($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)--memory-reservation=[Memory soft limit]:Memory limit: "
     )
 
     case "$words[1]" in