Correct main help output
This commit is contained in:
parent
1508d85cb6
commit
44cff02828
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
@ -45,11 +45,11 @@ func main() {
|
|||
|
||||
// Set up the cobra root command
|
||||
var rootCmd = &cobra.Command{
|
||||
Use: "sqlboiler <driver>",
|
||||
Use: "sqlboiler [flags] <driver>",
|
||||
Short: "SQL Boiler generates boilerplate structs and statements",
|
||||
Long: "SQL Boiler generates boilerplate structs and statements from template files.\n" +
|
||||
`Complete documentation is available at http://github.com/nullbio/sqlboiler`,
|
||||
Example: `sqlboiler postgres -o models -p models`,
|
||||
Example: `sqlboiler -o models -p models postgres`,
|
||||
PreRunE: preRun,
|
||||
RunE: run,
|
||||
PostRunE: postRun,
|
||||
|
|
Loading…
Add table
Reference in a new issue