From 71ae4ed2e054e441a5100036d2fa75d458cbbd23 Mon Sep 17 00:00:00 2001 From: Jamius Siam Date: Tue, 26 Nov 2024 16:36:33 +0600 Subject: [PATCH] Fixed flag usage info --- cmd/jet/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/jet/main.go b/cmd/jet/main.go index 67d739f..243a40d 100644 --- a/cmd/jet/main.go +++ b/cmd/jet/main.go @@ -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 { @@ -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 `) }