From 8aa481d04cdfdefd6502b5557fe53fb20f14ae43 Mon Sep 17 00:00:00 2001 From: Charlie Saunders Date: Sat, 10 Aug 2019 08:39:48 -0400 Subject: [PATCH 1/2] fix typo in manual CLI update message --- cli/commands/update-cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/commands/update-cli.go b/cli/commands/update-cli.go index 98c700d94cf0e..f4f3430978f60 100644 --- a/cli/commands/update-cli.go +++ b/cli/commands/update-cli.go @@ -67,7 +67,7 @@ func (o *updateOptions) run(showPrompt bool) error { if showPrompt { ok := ask2confirm(latestVersion.String(), o.EC.Logger) if !ok { - o.EC.Logger.Info("skippig update, run 'hasura update-cli' to update manually") + o.EC.Logger.Info("skipping update, run 'hasura update-cli' to update manually") return nil } } From 1ab17508291c389abc605f04ab862df32a0828a5 Mon Sep 17 00:00:00 2001 From: Shahidh K Muhammed Date: Sat, 10 Aug 2019 18:54:57 +0530 Subject: [PATCH 2/2] fix a typo that was indicated in #2689 --- cli/commands/migrate_apply.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/commands/migrate_apply.go b/cli/commands/migrate_apply.go index 011c9cdf3fd5b..37cd6b8eba9f5 100644 --- a/cli/commands/migrate_apply.go +++ b/cli/commands/migrate_apply.go @@ -39,7 +39,7 @@ func newMigrateApplyCmd(ec *cli.ExecutionContext) *cobra.Command { f.StringVar(&opts.upMigration, "up", "", "apply all or N up migration steps") f.StringVar(&opts.downMigration, "down", "", "apply all or N down migration steps") - f.StringVar(&opts.versionMigration, "version", "", "migrate the database to a specific version") + f.StringVar(&opts.versionMigration, "version", "", "only apply this particular migration") f.StringVar(&opts.migrationType, "type", "up", "type of migration (up, down) to be used with version flag") f.BoolVar(&opts.skipExecution, "skip-execution", false, "skip executing the migration action, but mark them as applied")