Rename --bundle to --file

This renames the '--bundle' flag for docker (stack) deploy
to be consistent with 'docker build'.

Note that there's no shorthand '-f' added for now,
because this may be confusing on 'docker stack config',
which also takes a file, and for which we may want to
have a '--format' flag in future.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2016-07-20 15:52:43 +02:00 committed by Tibor Vass
parent 2a56732a87
commit b2d71bfbe1
4 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ Usage: docker deploy [OPTIONS] STACK
Create and update a stack from a Distributed Application Bundle (DAB) Create and update a stack from a Distributed Application Bundle (DAB)
Options: Options:
--bundle string Path to a Distributed Application Bundle file (Default: STACK.dab) --file string Path to a Distributed Application Bundle file (Default: STACK.dab)
--help Print usage --help Print usage
``` ```

View File

@ -17,7 +17,7 @@ Usage: docker stack config [OPTIONS] STACK
Print the stack configuration Print the stack configuration
Options: Options:
--bundle string Path to a Distributed Application Bundle file (Default: STACK.dab) --file string Path to a Distributed Application Bundle file (Default: STACK.dab)
--help Print usage --help Print usage
``` ```

View File

@ -20,7 +20,7 @@ Aliases:
deploy, up deploy, up
Options: Options:
--bundle string Path to a Distributed Application Bundle file (Default: STACK.dab) --file string Path to a Distributed Application Bundle file (Default: STACK.dab)
--help Print usage --help Print usage
``` ```

View File

@ -44,7 +44,7 @@ Usage: docker deploy [OPTIONS] STACK
Create and update a stack Create and update a stack
Options: Options:
-f, --bundle string Path to a bundle (Default: STACK.dab) --file string Path to a Distributed Application Bundle file (Default: STACK.dab)
--help Print usage --help Print usage
``` ```