Skip to content

Commit

Permalink
internal/cli: pass down new -table values to db.GetTables()
Browse files Browse the repository at this point in the history
m(
  • Loading branch information
fraenky8 committed Oct 15, 2024
1 parent f942520 commit e59c2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/cli/tables-to-go-cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func Run(settings *settings.Settings, db database.Database, out output.Writer) (

fmt.Printf("running for %q...\r\n", settings.DbType)

tables, err := db.GetTables()
tables, err := db.GetTables(settings.Tables...)
if err != nil {
return fmt.Errorf("could not get tables: %w", err)
}
Expand Down

0 comments on commit e59c2bc

Please sign in to comment.