mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
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:
parent
3042fd175e
commit
e90866752e
@ -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")
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user