fix some typos in cli (#2708)

* fix typo in manual CLI update message

* fix a typo that was indicated in #2689
This commit is contained in:
Charlie Saunders 2019-08-10 13:13:45 -04:00 committed by Shahidh K Muhammed
parent 3042fd175e
commit e90866752e
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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
}
}