Skip to content

Add zsh completion for docker service scale --detach=false#389

Merged
thaJeztah merged 1 commit into
docker:masterfrom
jphuynh:zsh-scale-detach
Aug 1, 2017
Merged

Add zsh completion for docker service scale --detach=false#389
thaJeztah merged 1 commit into
docker:masterfrom
jphuynh:zsh-scale-detach

Conversation

@jphuynh
Copy link
Copy Markdown
Contributor

@jphuynh jphuynh commented Jul 27, 2017

zsh completion equivalent of #382 for the flag option in #243.

Signed-off-by: Jean-Pierre Huynh jean-pierre.huynh@ounet.fr

Signed-off-by: Jean-Pierre Huynh <jean-pierre.huynh@ounet.fr>
@codecov-io
Copy link
Copy Markdown

codecov-io commented Jul 27, 2017

Codecov Report

Merging #389 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #389   +/-   ##
=======================================
  Coverage   46.14%   46.14%           
=======================================
  Files         193      193           
  Lines       16073    16073           
=======================================
  Hits         7417     7417           
  Misses       8269     8269           
  Partials      387      387

Copy link
Copy Markdown
Collaborator

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👼
/cc @sdurrheimer

Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@thaJeztah thaJeztah merged commit dabfec6 into docker:master Aug 1, 2017
@GordonTheTurtle GordonTheTurtle added this to the 17.08.0 milestone Aug 1, 2017
@thaJeztah thaJeztah modified the milestones: 17.07.0, 17.08.0 Aug 1, 2017
(scale)
_arguments $(__docker_arguments) \
$opts_help \
"($help -d --detach)"{-d=false,--detach=false}"[Disable detached mode]" \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Boolean flag doesn't need =false.

Sorry for the delay, I have not a lot of time these days.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks I'll change that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants