Skip to content

Commit

Permalink
fix head command: flag named inconsistently
Browse files Browse the repository at this point in the history
  • Loading branch information
ecordell committed Jan 3, 2022
1 parent 9d6c885 commit 311ff33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/migrate/migrate.go
Expand Up @@ -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 {
Expand Down

0 comments on commit 311ff33

Please sign in to comment.