Skip to content

Commit

Permalink
Merge pull request #8923 from ulyssessouza/remove-env-flags-on-up
Browse files Browse the repository at this point in the history
Remove unused flag
  • Loading branch information
mat007 authored Nov 14, 2021
2 parents e442226 + 865b82d commit 8a9c4b5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/compose/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ type composeOptions struct {
type upOptions struct {
*composeOptions
Detach bool
Environment []string
noStart bool
noDeps bool
cascadeStop bool
Expand Down Expand Up @@ -114,7 +113,6 @@ func upCommand(p *projectOptions, backend api.Service) *cobra.Command {
ValidArgsFunction: serviceCompletion(p),
}
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.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.")
Expand Down

0 comments on commit 8a9c4b5

Please sign in to comment.