mirror of https://github.com/docker/cli.git
Add zsh completion for 'docker system df'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
f2573a87ed
commit
b1948be830
|
@ -1961,7 +1961,7 @@ __docker_swarm_subcommand() {
|
||||||
__docker_system_commands() {
|
__docker_system_commands() {
|
||||||
local -a _docker_system_subcommands
|
local -a _docker_system_subcommands
|
||||||
_docker_system_subcommands=(
|
_docker_system_subcommands=(
|
||||||
"df:Show docker disk usage"
|
"df:Show docker filesystem usage"
|
||||||
"events:Get real time events from the server"
|
"events:Get real time events from the server"
|
||||||
"info:Display system-wide information"
|
"info:Display system-wide information"
|
||||||
"prune:Remove unused data"
|
"prune:Remove unused data"
|
||||||
|
@ -1978,7 +1978,9 @@ __docker_system_subcommand() {
|
||||||
|
|
||||||
case "$words[1]" in
|
case "$words[1]" in
|
||||||
(df)
|
(df)
|
||||||
# @TODO
|
_arguments $(__docker_arguments) \
|
||||||
|
$opts_help \
|
||||||
|
"($help -v --verbose)"{-v,--verbose}"[Show detailed information on space usage]" && ret=0
|
||||||
;;
|
;;
|
||||||
(events)
|
(events)
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
|
|
Loading…
Reference in New Issue