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:
Harald Albers 2017-12-13 08:40:05 +01:00
parent 29ae8cf0e0
commit 8ec80eec67
1 changed files with 4 additions and 0 deletions

View File

@ -2221,6 +2221,7 @@ _docker_daemon() {
--metrics-addr --metrics-addr
--mtu --mtu
--network-control-plane-mtu --network-control-plane-mtu
--node-generic-resource
--oom-score-adjust --oom-score-adjust
--pidfile -p --pidfile -p
--registry-mirror --registry-mirror
@ -3396,6 +3397,7 @@ _docker_service_update_and_create() {
--dns-option --dns-option
--dns-search --dns-search
--env-file --env-file
--generic-resource
--group --group
--host --host
--mode --mode
@ -3457,6 +3459,8 @@ _docker_service_update_and_create() {
--dns-rm --dns-rm
--dns-search-add --dns-search-add
--dns-search-rm --dns-search-rm
--generic-resource-add
--generic-resource-rm
--group-add --group-add
--group-rm --group-rm
--host-add --host-add