We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The usage string for the cmd has hard coded version at 2.8.0, causing confusion for users.
Environment (please complete the following information):
Code snippet
func usage() { fmt.Println("Jet generator 2.8.0") fmt.Println() fmt.Println("Usage:") order := []string{ "source", "dsn", "host", "port", "user", "password", "dbname", "schema", "params", "sslmode", "path", "ignore-tables", "ignore-views", "ignore-enums", } for _, name := range order { flagEntry := flag.CommandLine.Lookup(name) fmt.Printf(" -%s\n", flagEntry.Name) fmt.Printf("\t%s\n", flagEntry.Usage) } fmt.Println() fmt.Println(`Example command: $ jet -dsn=postgresql://jet:jet@localhost:5432/jetdb?sslmode=disable -schema=dvds -path=./gen $ jet -dsn=postgres://jet:jet@localhost:26257/jetdb?sslmode=disable -schema=dvds -path=./gen #cockroachdb $ 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 `) }
Expected behavior Usage should show the current version of the installed jet command, in my case, currently 2.10.0
The text was updated successfully, but these errors were encountered:
Hi @mrityunjaygr8, good catch.
Sorry, something went wrong.
Fixed with Release v2.10.1.
No branches or pull requests
Describe the bug
The usage string for the cmd has hard coded version at 2.8.0, causing confusion for users.
Environment (please complete the following information):
Code snippet
Expected behavior
Usage should show the current version of the installed jet command, in my case, currently 2.10.0
The text was updated successfully, but these errors were encountered: