Skip to content

Commit 1f05375

Browse files
committed
Fix #12: improve -v output
1 parent 0d41847 commit 1f05375

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func doMigrate(from, to int) error {
9898
}
9999

100100
for cur := from; cur != to; cur += step {
101-
err := runMigration(cur, cur + step)
101+
err := runMigration(cur, cur+step)
102102
if err != nil {
103103
return err
104104
}
@@ -143,7 +143,7 @@ func YesNoPrompt(prompt string) bool {
143143
func main() {
144144
target := flag.Int("to", CurrentVersion, "specify version to upgrade to")
145145
yes := flag.Bool("y", false, "answer yes to all prompts")
146-
version := flag.Bool("v", false, "print highest repo version and exit")
146+
version := flag.Bool("v", false, "print highest repo version handled and exit")
147147
revertOk := flag.Bool("revert-ok", false, "allow running migrations backward")
148148

149149
flag.Parse()

0 commit comments

Comments
 (0)