Skip to content

Commit

Permalink
cli: fix typo in cli example for squash (fix #4047) (#4049)
Browse files Browse the repository at this point in the history
  • Loading branch information
dminkovsky authored Mar 9, 2020
1 parent e49655e commit b6780e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cli/commands/migrate_squash.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func newMigrateSquashCmd(ec *cli.ExecutionContext) *cobra.Command {
}

f := migrateSquashCmd.Flags()
f.Uint64Var(&opts.from, "from", 0, "start squashing form this version")
f.Uint64Var(&opts.from, "from", 0, "start squashing from this version")
f.StringVar(&opts.name, "name", "squashed", "name for the new squashed migration")
f.BoolVar(&opts.deleteSource, "delete-source", false, "delete the source files after squashing without any confirmation")

Expand Down
2 changes: 1 addition & 1 deletion docs/graphql/manual/hasura-cli/hasura_migrate_squash.rst
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Options
::

--delete-source delete the source files after squashing without any confirmation
--from uint start squashing form this version
--from uint start squashing from this version
-h, --help help for squash
--name string name for the new squashed migration (default "squashed")

Expand Down

0 comments on commit b6780e8

Please sign in to comment.