mirror of https://github.com/pressly/goose.git
main: adjust usage to indicate that -db and -config apply to the goose command, and that any subcommand options come after the subcommand
parent
8cd66bc122
commit
ab33fd0625
2
main.go
2
main.go
|
@ -51,7 +51,7 @@ var usageTmpl = template.Must(template.New("usage").Parse(
|
||||||
`goose is a database migration management system for Go projects.
|
`goose is a database migration management system for Go projects.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
goose <subcommand> [options]
|
goose [options] <subcommand> [subcommand options]
|
||||||
|
|
||||||
Commands:{{range .}}
|
Commands:{{range .}}
|
||||||
{{.Name | printf "%-10s"}} {{.Summary}}{{end}}
|
{{.Name | printf "%-10s"}} {{.Summary}}{{end}}
|
||||||
|
|
Loading…
Reference in New Issue