Skip to content

Commit

Permalink
Add bash completion for --health-start-period
Browse files Browse the repository at this point in the history
Signed-off-by: Harald Albers <[email protected]>
  • Loading branch information
albers committed May 5, 2017
1 parent 05ad14f commit cbf8c07
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -1511,6 +1511,11 @@ _docker_container_run_and_create() {
--env-file
--expose
--group-add
--health-cmd
--health-interval
--health-retries
--health-start-period
--health-timeout
--hostname -h
--ip
--ip6
Expand Down Expand Up @@ -1566,6 +1571,7 @@ _docker_container_run_and_create() {
--help
--init
--interactive -i
--no-healthcheck
--oom-kill-disable
--privileged
--publish-all -P
Expand All @@ -1576,14 +1582,9 @@ _docker_container_run_and_create() {
if [ "$command" = "run" -o "$subcommand" = "run" ] ; then
options_with_args="$options_with_args
--detach-keys
--health-cmd
--health-interval
--health-retries
--health-timeout
"
boolean_options="$boolean_options
--detach -d
--no-healthcheck
--rm
--sig-proxy=false
"
Expand Down Expand Up @@ -3030,6 +3031,7 @@ _docker_service_update_and_create() {
--health-cmd
--health-interval
--health-retries
--health-start-period
--health-timeout
--hostname
--label -l
Expand All @@ -3039,7 +3041,6 @@ _docker_service_update_and_create() {
--log-opt
--mount
--network
--no-healthcheck
--replicas
--reserve-cpu
--reserve-memory
Expand All @@ -3065,6 +3066,7 @@ _docker_service_update_and_create() {

local boolean_options="
--help
--no-healthcheck
--read-only
--tty -t
--with-registry-auth
Expand Down

0 comments on commit cbf8c07

Please sign in to comment.