Skip to content

Commit aa2dad4

Browse files
committed
fix: move -all flag usage from drop to down
The `-all` flag usage should be used in `down` only, not `drop`. Signed-off-by: Eng Zer Jun <[email protected]>
1 parent 7dc03e3 commit aa2dad4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

internal/cli/main.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ const (
2626
`
2727
gotoUsage = `goto V Migrate to version V`
2828
upUsage = `up [N] Apply all or N up migrations`
29-
downUsage = `down [N] Apply all or N down migrations`
30-
dropUsage = `drop [-f] [-all] Drop everything inside database
31-
Use -f to bypass confirmation
29+
downUsage = `down [N] [-all] Apply all or N down migrations
3230
Use -all to apply all down migrations`
31+
dropUsage = `drop [-f] Drop everything inside database
32+
Use -f to bypass confirmation`
3333
forceUsage = `force V Set version V but don't run migration (ignores dirty state)`
3434
)
3535

0 commit comments

Comments
 (0)