mirror of https://github.com/docker/cli.git
Add support for generic resources to bash completion
Adds bash completion for - `service create --generic-resource` - `service update --generic-resource-(add|rm)` - `dockerd --node-generic-resource` Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
29ae8cf0e0
commit
8ec80eec67
|
@ -2221,6 +2221,7 @@ _docker_daemon() {
|
|||
--metrics-addr
|
||||
--mtu
|
||||
--network-control-plane-mtu
|
||||
--node-generic-resource
|
||||
--oom-score-adjust
|
||||
--pidfile -p
|
||||
--registry-mirror
|
||||
|
@ -3396,6 +3397,7 @@ _docker_service_update_and_create() {
|
|||
--dns-option
|
||||
--dns-search
|
||||
--env-file
|
||||
--generic-resource
|
||||
--group
|
||||
--host
|
||||
--mode
|
||||
|
@ -3457,6 +3459,8 @@ _docker_service_update_and_create() {
|
|||
--dns-rm
|
||||
--dns-search-add
|
||||
--dns-search-rm
|
||||
--generic-resource-add
|
||||
--generic-resource-rm
|
||||
--group-add
|
||||
--group-rm
|
||||
--host-add
|
||||
|
|
Loading…
Reference in New Issue