mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Merge pull request #32884 from albers/completion-system-df--format
Add bash completion for `system df --format` Upstream-commit: 294c9eab56970fa0b106d20560ee1110ea478c5d Component: engine
This commit is contained in:
@@ -4173,9 +4173,15 @@ _docker_system() {
|
||||
}
|
||||
|
||||
_docker_system_df() {
|
||||
case "$prev" in
|
||||
--format)
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--help --verbose -v" -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W "--format --help --verbose -v" -- "$cur" ) )
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
@@ -21,8 +21,9 @@ Usage: docker system df [OPTIONS]
|
||||
Show docker filesystem usage
|
||||
|
||||
Options:
|
||||
--help Print usage
|
||||
-v, --verbose Show detailed information on space usage
|
||||
--format string Pretty-print images using a Go template
|
||||
--help Print usage
|
||||
-v, --verbose Show detailed information on space usage
|
||||
```
|
||||
|
||||
## Description
|
||||
|
||||
Reference in New Issue
Block a user