mirror of
https://github.com/docker/compose.git
synced 2025-07-22 21:24:38 +02:00
Remove unused flag
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
parent
e44222664a
commit
865b82da6a
@ -40,7 +40,6 @@ type composeOptions struct {
|
|||||||
type upOptions struct {
|
type upOptions struct {
|
||||||
*composeOptions
|
*composeOptions
|
||||||
Detach bool
|
Detach bool
|
||||||
Environment []string
|
|
||||||
noStart bool
|
noStart bool
|
||||||
noDeps bool
|
noDeps bool
|
||||||
cascadeStop bool
|
cascadeStop bool
|
||||||
@ -114,7 +113,6 @@ func upCommand(p *projectOptions, backend api.Service) *cobra.Command {
|
|||||||
ValidArgsFunction: serviceCompletion(p),
|
ValidArgsFunction: serviceCompletion(p),
|
||||||
}
|
}
|
||||||
flags := upCmd.Flags()
|
flags := upCmd.Flags()
|
||||||
flags.StringArrayVarP(&up.Environment, "environment", "e", []string{}, "Environment variables")
|
|
||||||
flags.BoolVarP(&up.Detach, "detach", "d", false, "Detached mode: Run containers in the background")
|
flags.BoolVarP(&up.Detach, "detach", "d", false, "Detached mode: Run containers in the background")
|
||||||
flags.BoolVar(&create.Build, "build", false, "Build images before starting containers.")
|
flags.BoolVar(&create.Build, "build", false, "Build images before starting containers.")
|
||||||
flags.BoolVar(&create.noBuild, "no-build", false, "Don't build an image, even if it's missing.")
|
flags.BoolVar(&create.noBuild, "no-build", false, "Don't build an image, even if it's missing.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user