From aeeb26f5f9367d44d3828947ffc1d1fdce034fbe Mon Sep 17 00:00:00 2001 From: Steve Durrheimer Date: Thu, 23 Jun 2016 08:57:39 +0200 Subject: [PATCH] Re-Add zsh completion for '-c' alias to '--cpu-shares' Signed-off-by: Steve Durrheimer Upstream-commit: 4c23ac0ae5103a1238c25cd1216507e9d6eec779 Component: engine --- components/engine/contrib/completion/zsh/_docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/engine/contrib/completion/zsh/_docker b/components/engine/contrib/completion/zsh/_docker index 5e0d61fca9..fd61c60e05 100644 --- a/components/engine/contrib/completion/zsh/_docker +++ b/components/engine/contrib/completion/zsh/_docker @@ -786,7 +786,7 @@ __docker_subcommand() { "($help)--userns=[Container user namespace]:user namespace:(host)" ) opts_build_create_run_update=( - "($help)--cpu-shares=[CPU shares (relative weight)]:CPU shares:(0 10 100 200 500 800 1000)" + "($help -c --cpu-shares)"{-c=,--cpu-shares=}"[CPU shares (relative weight)]:CPU shares:(0 10 100 200 500 800 1000)" "($help)--cpu-period=[Limit the CPU CFS (Completely Fair Scheduler) period]:CPU period: " "($help)--cpu-quota=[Limit the CPU CFS (Completely Fair Scheduler) quota]:CPU quota: " "($help)--cpuset-cpus=[CPUs in which to allow execution]:CPUs: "