Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func setRootOpts(cmd *cobra.Command, opts *internal.ArgType) {
cmd.Flags().StringVarP(&opts.Package, "package", "p", "", "package name used in generated Go code")
cmd.Flags().StringVar(&opts.CustomTypePackage, "custom-type-package", "", "Go package name to use for custom or unknown types")
cmd.Flags().StringArrayVar(&opts.TargetTables, "target-tables", nil, "tables to include from the generated Go code")
cmd.Flags().StringArrayVar(&opts.IgnoreFields, "ignore-fields", nil, "fields to exclude from the generated Go code")
cmd.Flags().StringArrayVar(&opts.IgnoreFields, "ignore-fields", nil, "fields to exclude from the generated Go code (format: \"#{column}\" for all tables or \"#{table}.#{column}\" for specific table)")
cmd.Flags().StringArrayVar(&opts.IgnoreTables, "ignore-tables", nil, "tables to exclude from the generated Go code")
cmd.Flags().StringVar(&opts.TemplatePath, "template-path", "", "user supplied template path")
cmd.Flags().StringVar(&opts.Tags, "tags", "", "build tags to add to package header")
Expand Down