Commit Graph

901 Commits

Author SHA1 Message Date
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
d180792961 Remove outdated completion reviewers file
Clean maintainers and code owners files

Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Upstream-commit: 9022a00fbe
Component: cli
2018-08-01 15:08:36 +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
d5c619e6c1 Merge pull request #1222 from thaJeztah/its_not_standard_but_its_in
Update --compose-file flag description to mention stdin
Upstream-commit: 6cd0e2fe70
Component: cli
2018-07-30 16:23:29 +02:00
4c5f6c0dc0 Fixed typo breaking zsh docker update autocomplete
Signed-off-by: Tom Milligan <tommilligan@users.noreply.github.com>
Upstream-commit: da00d1c49f
Component: cli
2018-07-25 12:23:08 +01:00
e1ab6a31da Added events filter scope zsh completion
Signed-off-by: Paweł Szczekutowicz <pszczekutowicz@gmail.com>
Upstream-commit: 13db1bc95f
Component: cli
2018-07-20 15:47:00 +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
08fd30fe8f Update --compose-file flag description to mention stdin
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 2c7822b036
Component: cli
2018-07-19 14:55:48 +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
771b7b3484 Minor fix: "stdin" instead of "stding"
Signed-off-by: Mauro Porras P <mauroporrasp@gmail.com>
Upstream-commit: acf3d2d95a
Component: cli
2018-05-18 08:48:42 -05:00
d1519025fc Merge pull request #1061 from eiais/fishupdate
Update Events, Exec, Export, History, Images, Import, Inspect, Load, and Login subcommand fish completions
Upstream-commit: 6bab4a2a94
Component: cli
2018-05-17 14:50:29 +02:00
c91662ddb9 update docker Login subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
Upstream-commit: 4d890fc686
Component: cli
2018-05-05 01:35:48 -07:00
a788020da9 update docker Load subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
Upstream-commit: 647d4c983f
Component: cli
2018-05-05 01:33:47 -07:00
10f5ddc3c1 update docker Inspect subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
Upstream-commit: 20f269a1ff
Component: cli
2018-05-05 01:27:43 -07:00
a6af640f78 update docker Import subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
Upstream-commit: 202601b774
Component: cli
2018-05-05 01:22:45 -07:00
dc691e94bb update docker Images subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
Upstream-commit: 82c5693cf9
Component: cli
2018-05-05 01:19:35 -07:00
15f2c99486 update docker History subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
Upstream-commit: ba4e802b4f
Component: cli
2018-05-05 01:17:44 -07:00
7f5fd0a3b4 update docker Export subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
Upstream-commit: fb16dc68be
Component: cli
2018-05-05 01:07:32 -07:00
9cc62e81cb update docker Exec subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
Upstream-commit: 3eb6b2c9c0
Component: cli
2018-05-03 12:48:25 -07:00
a089f44a79 update docker Events subcommand completions
Signed-off-by: Kyle Spiers <Kyle@Spiers.me>
Upstream-commit: 21477d9576
Component: cli
2018-05-03 12:42:41 -07:00
0246710e59 Merge pull request #1005 from eiais/fishupdate
Update Attach, Build, Commit, Cp, Create subcommand fish completions 
Upstream-commit: e956159572
Component: cli
2018-05-03 10:28:53 +02:00
a597dea9bf update docker Create subcommand fish completions
Signed-off-by: Kyle Spiers <kyle@spiers.me>
Upstream-commit: b491ad1589
Component: cli
2018-04-20 12:09:44 -07:00
5a48ec120d update docker Cp subcommand fish completions
Signed-off-by: Kyle Spiers <kyle@spiers.me>
Upstream-commit: 49d8604875
Component: cli
2018-04-20 11:58:05 -07:00
59dbeaea44 update docker Commit subcommand fish completions
Signed-off-by: Kyle Spiers <kyle@spiers.me>
Upstream-commit: 67a80e3c89
Component: cli
2018-04-20 11:57:33 -07:00
2e3a28762a update docker Build subcommand fish completions
Signed-off-by: Kyle Spiers <kyle@spiers.me>
Upstream-commit: 44168f52b3
Component: cli
2018-04-20 11:56:09 -07:00
4d27bf9201 update docker Attach subcommand fish completions
Signed-off-by: Kyle Spiers <kyle@spiers.me>
Upstream-commit: ee5aad8646
Component: cli
2018-04-20 11:48:57 -07: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
119115ef8d add fish completions for docker trust subcommand
Signed-off-by: Kyle Spiers <kyle@spiers.me>
Upstream-commit: 4439f6446e
Component: cli
2018-04-03 18:04:04 -07: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
92f3e5322f Merge pull request #372 from jphuynh/completion-zsh-event-filter
Update event filter zsh completion with `disable`, `enable`, `install…
Upstream-commit: c6a7046674
Component: cli
2018-02-16 10:16:40 +01: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