From 9b02c87f7bcb49396258e45c0487dce4a94661fc Mon Sep 17 00:00:00 2001 From: Steve Durrheimer Date: Thu, 10 Nov 2016 21:10:22 +0100 Subject: [PATCH] Add zsh completion for 'docker {run,create} --cpus' Signed-off-by: Steve Durrheimer --- contrib/completion/zsh/_docker | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/completion/zsh/_docker b/contrib/completion/zsh/_docker index 16edfd2ced..18fd83a893 100644 --- a/contrib/completion/zsh/_docker +++ b/contrib/completion/zsh/_docker @@ -524,6 +524,7 @@ __docker_container_subcommand() { "($help)*--cap-drop=[Drop Linux capabilities]:capability: " "($help)--cgroup-parent=[Parent cgroup for the container]:cgroup: " "($help)--cidfile=[Write the container ID to the file]:CID file:_files" + "($help)--cpus=[Number of CPUs (default 0.000)]:cpus: " "($help)*--device=[Add a host device to the container]:device:_files" "($help)*--device-read-bps=[Limit the read rate (bytes per second) from a device]:device:IO rate: " "($help)*--device-read-iops=[Limit the read rate (IO per second) from a device]:device:IO rate: "