pending: slight change to textual output

pull/2/head
Liam Staskawicz 2012-12-24 12:12:52 -08:00
parent 9fbce90a79
commit 5431e23861
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ func pendingRun(cmd *Command, args ...string) {
if len(pendingScripts) == 0 { if len(pendingScripts) == 0 {
fmt.Printf("goose: no pending migrations. you're up to date at version %v\n", current) fmt.Printf("goose: no pending migrations. you're up to date at version %v\n", current)
} else { } else {
fmt.Printf("goose: %v pending migrations:\n", len(pendingScripts)) fmt.Printf("goose: %v pending migration(s):\n", len(pendingScripts))
for _, s := range pendingScripts { for _, s := range pendingScripts {
fmt.Printf(" %v\n", s) fmt.Printf(" %v\n", s)
} }