From 311ff33a5ba77471bfa990b6a92d449da5e2372b Mon Sep 17 00:00:00 2001 From: Evan Cordell Date: Mon, 3 Jan 2022 16:30:55 -0500 Subject: [PATCH] fix head command: flag named inconsistently --- pkg/cmd/migrate/migrate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/migrate/migrate.go b/pkg/cmd/migrate/migrate.go index 759a36914b..632c77850f 100644 --- a/pkg/cmd/migrate/migrate.go +++ b/pkg/cmd/migrate/migrate.go @@ -71,7 +71,7 @@ func migrateRun(cmd *cobra.Command, args []string) error { } func RegisterHeadFlags(cmd *cobra.Command) { - cmd.Flags().String("engine", "postgres", "type of datastore to initialize (e.g. postgres, cockroachdb, memory") + cmd.Flags().String("datastore-engine", "postgres", "type of datastore to initialize (e.g. postgres, cockroachdb, memory") } func NewHeadCommand(programName string) *cobra.Command {