Fixed flag usage info
This commit is contained in:
parent
d22f3cff3d
commit
71ae4ed2e0
1 changed files with 2 additions and 2 deletions
|
|
@ -178,7 +178,7 @@ func usage() {
|
||||||
"source", "dsn", "host", "port", "user", "password", "dbname", "schema", "params", "sslmode",
|
"source", "dsn", "host", "port", "user", "password", "dbname", "schema", "params", "sslmode",
|
||||||
"path",
|
"path",
|
||||||
"ignore-tables", "ignore-views", "ignore-enums",
|
"ignore-tables", "ignore-views", "ignore-enums",
|
||||||
"model-pkg", "table-pkg", "view-pkg", "enum-pkg",
|
"rel-model-path", "rel-table-path", "rel-view-path", "rel-enum-path",
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, name := range order {
|
for _, name := range order {
|
||||||
|
|
@ -195,7 +195,7 @@ func usage() {
|
||||||
$ jet -source=postgres -dsn="user=jet password=jet host=localhost port=5432 dbname=jetdb" -schema=dvds -path=./gen
|
$ jet -source=postgres -dsn="user=jet password=jet host=localhost port=5432 dbname=jetdb" -schema=dvds -path=./gen
|
||||||
$ jet -source=mysql -host=localhost -port=3306 -user=jet -password=jet -dbname=jetdb -path=./gen
|
$ jet -source=mysql -host=localhost -port=3306 -user=jet -password=jet -dbname=jetdb -path=./gen
|
||||||
$ jet -source=sqlite -dsn="file://path/to/sqlite/database/file" -path=./gen
|
$ jet -source=sqlite -dsn="file://path/to/sqlite/database/file" -path=./gen
|
||||||
$ jet -source=sqlite -dsn="file://path/to/sqlite/database/file" -path=./gen -model-pkg=./entity
|
$ jet -source=sqlite -dsn="file://path/to/sqlite/database/file" -path=./gen -rel-model-path=./entity
|
||||||
`)
|
`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue