Merge pull request #28468 from sdurrheimer/zsh-completion-system-df

Add zsh completion for 'docker system df'
This commit is contained in:
Vincent Demeester 2016-11-16 12:05:49 +01:00 committed by GitHub
commit cec2dffd50

View file

@ -1961,7 +1961,7 @@ __docker_swarm_subcommand() {
__docker_system_commands() {
local -a _docker_system_subcommands
_docker_system_subcommands=(
"df:Show docker disk usage"
"df:Show docker filesystem usage"
"events:Get real time events from the server"
"info:Display system-wide information"
"prune:Remove unused data"
@ -1978,7 +1978,9 @@ __docker_system_subcommand() {
case "$words[1]" in
(df)
# @TODO
_arguments $(__docker_arguments) \
$opts_help \
"($help -v --verbose)"{-v,--verbose}"[Show detailed information on space usage]" && ret=0
;;
(events)
_arguments $(__docker_arguments) \