diff --git a/cmd/dagger/cmd/down.go b/cmd/dagger/cmd/down.go index 1e3937ac..5766c8b5 100644 --- a/cmd/dagger/cmd/down.go +++ b/cmd/dagger/cmd/down.go @@ -22,7 +22,7 @@ var downCmd = &cobra.Command{ } func init() { - downCmd.Flags().Bool("--no-cache", false, "Disable all run cache") + downCmd.Flags().Bool("no-cache", false, "Disable all run cache") if err := viper.BindPFlags(downCmd.Flags()); err != nil { panic(err) diff --git a/cmd/dagger/cmd/up.go b/cmd/dagger/cmd/up.go index 7e5a23e9..b0ecf81f 100644 --- a/cmd/dagger/cmd/up.go +++ b/cmd/dagger/cmd/up.go @@ -29,8 +29,6 @@ var upCmd = &cobra.Command{ } state := common.GetCurrentDeploymentState(ctx, store) - - // TODO: Implement options: --no-cache result := common.DeploymentUp(ctx, state, viper.GetBool("no-cache")) state.Computed = result.Computed().JSON().String() if err := store.UpdateDeployment(ctx, state, nil); err != nil {