Add zsh completion for 'docker system df'

Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
Steve Durrheimer 2016-11-16 08:35:19 +01:00 committed by Tibor Vass
parent f2573a87ed
commit b1948be830
1 changed files with 4 additions and 2 deletions

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) \