mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #24841 from thaJeztah/rename-bundle-flag
[RFC] Rename --bundle to --file
This commit is contained in:
commit
b9c4959882
5 changed files with 6 additions and 6 deletions
|
@ -14,7 +14,7 @@ import (
|
|||
func addBundlefileFlag(opt *string, flags *pflag.FlagSet) {
|
||||
flags.StringVar(
|
||||
opt,
|
||||
"bundle", "",
|
||||
"file", "",
|
||||
"Path to a Distributed Application Bundle file (Default: STACK.dab)")
|
||||
}
|
||||
|
||||
|
@ -26,7 +26,7 @@ func loadBundlefile(stderr io.Writer, namespace string, path string) (*bundlefil
|
|||
}
|
||||
if _, err := os.Stat(path); err != nil {
|
||||
return nil, fmt.Errorf(
|
||||
"Bundle %s not found. Specify the path with -f or --bundle",
|
||||
"Bundle %s not found. Specify the path with --file",
|
||||
path)
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ Usage: docker deploy [OPTIONS] STACK
|
|||
Create and update a stack from a Distributed Application Bundle (DAB)
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ Usage: docker stack config [OPTIONS] STACK
|
|||
Print the stack configuration
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ Aliases:
|
|||
deploy, up
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ Usage: docker deploy [OPTIONS] STACK
|
|||
Create and update a stack
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue