Skip to content

Commit

Permalink
Fixed flag usage info
Browse files Browse the repository at this point in the history
  • Loading branch information
jamius19 committed Nov 26, 2024
1 parent d22f3cf commit 71ae4ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/jet/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func usage() {
"source", "dsn", "host", "port", "user", "password", "dbname", "schema", "params", "sslmode",
"path",
"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 {
Expand All @@ -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=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 -model-pkg=./entity
$ jet -source=sqlite -dsn="file://path/to/sqlite/database/file" -path=./gen -rel-model-path=./entity
`)
}

Expand Down

0 comments on commit 71ae4ed

Please sign in to comment.