Ver Fonte

Merge pull request #22739 from sdurrheimer/zsh-completion-daemon-concurrent

Add zsh completion for 'docker daemon --max-concurrent-downloads --ma…
Sebastiaan van Stijn há 9 anos atrás
pai
commit
c80f926997
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      contrib/completion/zsh/_docker

+ 2 - 0
contrib/completion/zsh/_docker

@@ -833,6 +833,8 @@ __docker_subcommand() {
                 "($help)*--label=[Key=value labels]:label: " \
                 "($help)--log-driver=[Default driver for container logs]:Logging driver:(awslogs etwlogs fluentd gcplogs gelf journald json-file none splunk syslog)" \
                 "($help)*--log-opt=[Log driver specific options]:log driver options:__docker_log_options" \
+                "($help)--max-concurrent-downloads[Set the max concurrent downloads for each pull]" \
+                "($help)--max-concurrent-uploads[Set the max concurrent uploads for each push]" \
                 "($help)--mtu=[Network MTU]:mtu:(0 576 1420 1500 9000)" \
                 "($help -p --pidfile)"{-p=,--pidfile=}"[Path to use for daemon PID file]:PID file:_files" \
                 "($help)--raw-logs[Full timestamps without ANSI coloring]" \