72b2e41948
Fix bash completion for service update --force
...
- `--force` is not available in `service create`
- `--force` is a boolean option
Signed-off-by: Harald Albers <github@albersweb.de >
(cherry picked from commit 5fa5eb1da6 )
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: 046ffa4e87
Component: cli
2018-11-20 18:18:33 +01:00
534b83a7cb
Global Default Address Pool feature support
...
This feature brings new attribute/option for swarm init command.
default-addr-pool will take string input which can be in below format.
"CIDR,CIDR,CIDR...:SUBNET-SIZE".
Signed-off-by: selansen <elango.siva@docker.com >
Upstream-commit: 587a94c935
Component: cli
2018-08-21 14:34:00 -04:00
c213d85ec3
Merge pull request #1271 from albers/completion-shellcheck
...
Fix shellcheck warnings
Upstream-commit: b5768bea9b
Component: cli
2018-08-04 01:36:36 +02:00
6d14e4f6a2
Merge pull request #1269 from albers/completion-cp--archive
...
Add bash completion for `cp --archive`
Upstream-commit: e8cd06c8eb
Component: cli
2018-08-03 23:48:52 +02:00
73443cfafe
Fix shellcheck warnings
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: e587ec293b
Component: cli
2018-08-03 15:28:09 +02:00
1dfbd7519a
bash completion: fix uncorrect completion
...
fix uncorrect completion for command
docker docker <tab>
Signed-off-by: Ace-Tang <aceapril@126.com >
Upstream-commit: 7b4e2f3145
Component: cli
2018-08-03 21:27:27 +08:00
13b26eee62
Add bash completion for cp --archive
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: b9b3754ad3
Component: cli
2018-08-03 14:30:30 +02:00
841a592280
Add bash completion for kubernetes orchestrator
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 08f8ee1320
Component: cli
2018-08-02 13:54:31 +02:00
907c1bdfa8
Only complete swarm specific options with orchestrator=swarm
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 8ef01e869e
Component: cli
2018-08-02 13:54:31 +02:00
19734fb410
Add support for orchestrator specific bash completions
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: ff953751d3
Component: cli
2018-08-02 13:54:31 +02:00
42c10fc02b
Merge pull request #1215 from albers/completion-service-logs-options
...
Add bash completion for `service logs --details|--raw`
Upstream-commit: 08f5f52cdc
Component: cli
2018-07-31 22:25:36 +02:00
e91cf840e6
Added events filter scope bash completion
...
Signed-off-by: Paweł Szczekutowicz <pszczekutowicz@gmail.com >
Upstream-commit: c922ea2f45
Component: cli
2018-07-20 15:37:49 +02:00
d384a456a6
Add bash completion for service logs --details|--raw
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 4912846de2
Component: cli
2018-07-16 18:46:06 +02:00
526010074d
Add bash completion for service create|update --init
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 97d312e02a
Component: cli
2018-07-13 09:05:29 +02:00
74cbabea8f
Merge pull request #1158 from albers/completion-dockerd--default-address-pool
...
Add bash completion for `dockerd --default-address-pool`
Upstream-commit: 3991b2fae3
Component: cli
2018-06-29 11:48:43 +02:00
312f1fe0aa
Add bash completion for exec_die event
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 8443982188
Component: cli
2018-06-29 11:20:23 +02:00
ee38cae4b8
Add bash completion for dockerd --default-address-pool
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 0e6d9dfe85
Component: cli
2018-06-29 11:11:24 +02:00
cf1baa9f3c
Add bash completion for secret|config create --template-driver
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 43024e2d57
Component: cli
2018-04-14 14:46:19 +02:00
065614040d
Bash: update trust completions
...
The `docker trust` commands were moved out of experimental,
and the `docker trust view` command was changed to
`docker trust inspect --pretty`.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: 2a6808db87
Component: cli
2018-03-14 01:21:33 +01:00
5539b125fe
Add swarm types to bash completion event type filter
...
Signed-off-by: Trapier Marshall <trapier.marshall@docker.com >
Upstream-commit: fb80101ca7
Component: cli
2018-02-19 13:46:23 -05:00
c38d4936f4
Merge pull request #682 from albers/completion-service-options
...
Fix and simplify bash completion for service env, mounts and labels
Upstream-commit: 26a2a45967
Component: cli
2018-02-01 14:02:51 -08:00
8f3ae07b6b
Merge pull request #717 from albers/completion-images-2
...
Improve and fix bash completion for images
Upstream-commit: 4586609f71
Component: cli
2018-01-27 17:48:49 -08:00
ae19592ca8
Fix bash completion for "docker swarm"
...
Signed-off-by: muicoder <muicoder@gmail.com >
Upstream-commit: e2f73bb4b7
Component: cli
2018-01-01 12:58:16 +08:00
a67c7bc0ee
Merge pull request #713 from albers/completion-512
...
Fix #512 Bash autocompletion works incorrect with inspect
Upstream-commit: 718a245b6e
Component: cli
2017-12-15 16:33:41 -05:00
53eeb39422
Simplify bash completion for service options
...
Previously, the completions for `--xxx` and the corresponding
`-xxx-add` and `-xxx-rm` options were defined in separate blocks.
This caused a lot of duplicated code.
This PR removes duplication for xxx=config|group|host|placement-pref|secret.
Now the blocks for `create` and `update` only contain completions for
options that either only exist for the particular command or are specific
to it (completions for `--env-rm` and `--env|env-add` differ).
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: f2b42bb6a8
Component: cli
2017-12-15 13:49:42 +01:00
a7c2ea2fc4
Fix bash completion for service env, mounts and labels
...
`service create` and `service update` both used to have `--env`, `--label`
and `--mount` options.
These options now are only valid for `service create`.
`service update` got corresponding `--xxx-add|rm` options instead.
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: d149c93c0c
Component: cli
2017-12-15 13:49:42 +01:00
ba6f88e84d
Merge pull request #749 from albers/completion--generic-resource
...
Add support for generic resources to bash completion
Upstream-commit: 8684b99923
Component: cli
2017-12-15 01:08:42 -08:00
edf70bdb82
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 >
Upstream-commit: 8ec80eec67
Component: cli
2017-12-15 08:56:14 +01:00
ee5a10619c
Update docs and completion-scripts for deprecated features
...
- the `--disable-legacy-registry` daemon flag was removed
- duplicate keys with conflicting values for engine labels
now produce an error instead of a warning.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
Upstream-commit: a119e39f0c
Component: cli
2017-12-12 17:09:38 -08:00
c3ea8d4b44
Merge pull request #726 from albers/completion-log-opt-line-only
...
Add bash completion for `--log-opt line-only`
Upstream-commit: 8053cf67e0
Component: cli
2017-12-06 16:04:26 -08:00
0aafcdcf36
Merge pull request #732 from ndeloof/8917
...
closes #8917 introduce `—workdir` option for docker exec
Upstream-commit: 86653f4d57
Component: cli
2017-12-06 10:51:33 -08:00
d02e9392a1
Because the option takes an argument, a special treatment is required in the preceding case
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
Upstream-commit: da6b8cb5de
Component: cli
2017-12-06 17:24:01 +01:00
5deca4bbe1
introduce —workdir option for docker exec
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com >
Upstream-commit: 591a1273fd
Component: cli
2017-12-06 17:24:01 +01:00
a369ceccde
Merge pull request #724 from dungeonmaster18/723-auto-complete-command
...
Added auto complete command for fluentd-sub-second-precision.
Upstream-commit: ea854237aa
Component: cli
2017-12-05 10:29:39 -08:00
8d18b0cfab
Merge pull request #704 from albers/completion--platform
...
Add bash completion for `--platform`
Upstream-commit: 83cdc0f1bd
Component: cli
2017-12-04 13:19:37 -08:00
14e1e40a4e
Add bash completion for --log-opt line-only
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 0798d71f38
Component: cli
2017-12-04 10:05:37 +01:00
c05aa2cc73
Minor bash completion improvements/fixes
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 53376b60c6
Component: cli
2017-12-04 09:33:14 +01:00
8583ba4a32
Improve bash completion for images
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 5ee3b9b461
Component: cli
2017-12-04 09:33:14 +01:00
f62beecbb7
Added auto complete command for fluentd-sub-second-precision
...
Signed-off-by: dungeonmaster18 <umesh4257@gmail.com >
Upstream-commit: d5271568a2
Component: cli
2017-12-01 18:39:41 +05:30
25c006f1cc
Fix #512 Bash autocompletion works incorrect with inspect
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: a2d0b6e122
Component: cli
2017-11-30 17:28:33 +01:00
617fb8ceb7
Merge pull request #702 from albers/completion-log--until
...
Add bash completion for `logs --until`
Upstream-commit: b45a49c83f
Component: cli
2017-11-30 09:40:08 +01:00
3c7ba9bf1b
Add bash completion for --platform
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 15f78417b9
Component: cli
2017-11-30 09:29:15 +01:00
a79583a886
Merge pull request #677 from albers/completion-log-opts
...
Add new log driver options to bash completion
Upstream-commit: 4f009541cb
Component: cli
2017-11-29 10:01:19 -08:00
fe41a825e2
Merge pull request #678 from albers/completion-build--stream
...
Add bash completion for experimental `build --stream`
Upstream-commit: c428561b63
Component: cli
2017-11-29 10:00:23 -08:00
efb2ed5d5e
Add bash completion for logs --until
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 667dead8b7
Component: cli
2017-11-17 18:45:05 +01:00
afb12468a8
Add bash completion for trust sign --local
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: c29459c284
Component: cli
2017-11-17 18:30:38 +01:00
c5471a4a0e
Add isolation mode on service update/create and compose files
...
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com >
Upstream-commit: 47cf2ea683
Component: cli
2017-11-17 15:31:13 +01:00
1fce7e41ce
Add bash completion for experimental build --stream
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: c852393bff
Component: cli
2017-11-08 14:32:14 +01:00
ce00560e17
Add --log-opt awslogs-credentials-endpoint to bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: 1390ae6022
Component: cli
2017-11-08 14:07:05 +01:00
49cfe581ba
Add support for GELF tcp connections to bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de >
Upstream-commit: c231c381fe
Component: cli
2017-11-08 13:54:51 +01:00