cli: fix typo in cli example for squash (fix #4047) (#4049)

This commit is contained in:
Dmitry Minkovsky 2020-03-09 05:49:00 -04:00 committed by GitHub
parent e49655e75b
commit b6780e8a15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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