Skip to content

Commit

Permalink
Fixes docker#1923 Update stack command docs --orchestrator
Browse files Browse the repository at this point in the history
Signed-off-by: nabeel-shakeel <nabeel_shakeel@symantec.com>
  • Loading branch information
nabeel-shakeel committed Oct 24, 2019
1 parent 3afe327 commit a04531d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion contrib/completion/bash/docker
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ __docker_complete_stack_orchestrator_options() {
return 0
;;
--orchestrator)
COMPREPLY=( $( compgen -W "all kubernetes swarm" -- "$cur") )
COMPREPLY=( $( compgen -W "kubernetes swarm" -- "$cur") )
return 0
;;
esac
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commandline/stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Manage Docker stacks
Options:
--help Print usage
--kubeconfig string Kubernetes config file
--orchestrator string Orchestrator to use (swarm|kubernetes|all)
--orchestrator string Orchestrator to use (swarm|kubernetes)

Commands:
deploy Deploy a new stack or update an existing stack
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commandline/stack_deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Options:
--help Print usage
--kubeconfig string Kubernetes config file
--namespace string Kubernetes namespace to use
--orchestrator string Orchestrator to use (swarm|kubernetes|all)
--orchestrator string Orchestrator to use (swarm|kubernetes)
--prune Prune services that are no longer referenced
--resolve-image string Query the registry to resolve image digest and supported platforms
("always"|"changed"|"never") (default "always")
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commandline/stack_ls.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Options:
--format string Pretty-print stacks using a Go template
--kubeconfig string Kubernetes config file
--namespace string Kubernetes namespace to use
--orchestrator string Orchestrator to use (swarm|kubernetes|all)
--orchestrator string Orchestrator to use (swarm|kubernetes)
```

## Description
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commandline/stack_ps.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Options:
--namespace string Kubernetes namespace to use
--no-resolve Do not map IDs to Names
--no-trunc Do not truncate output
--orchestrator string Orchestrator to use (swarm|kubernetes|all)
--orchestrator string Orchestrator to use (swarm|kubernetes)
-q, --quiet Only display task IDs
```

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commandline/stack_rm.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Options:
--help Print usage
--kubeconfig string Kubernetes config file
--namespace string Kubernetes namespace to use
--orchestrator string Orchestrator to use (swarm|kubernetes|all)
--orchestrator string Orchestrator to use (swarm|kubernetes)
```

## Description
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/commandline/stack_services.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Options:
--help Print usage
--kubeconfig string Kubernetes config file
--namespace string Kubernetes namespace to use
--orchestrator string Orchestrator to use (swarm|kubernetes|all)
--orchestrator string Orchestrator to use (swarm|kubernetes)
-q, --quiet Only display IDs
```

Expand Down
2 changes: 1 addition & 1 deletion e2e/stack/testdata/stack-deploy-help-kubernetes.golden
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Options:
from stdin
--kubeconfig string Kubernetes config file
--namespace string Kubernetes namespace to use
--orchestrator string Orchestrator to use (swarm|kubernetes|all)
--orchestrator string Orchestrator to use (swarm|kubernetes)

0 comments on commit a04531d

Please sign in to comment.