From dbfcec7fbe6625d3b35caa088482d124cc91f8a0 Mon Sep 17 00:00:00 2001 From: SanjaiyKumar Date: Wed, 18 Jun 2025 16:08:51 +0530 Subject: [PATCH] Renamed new flags '-allow-tables', '-allow-views', and '-allow-enums' description. --- cmd/jet/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/jet/main.go b/cmd/jet/main.go index 49a347e..a30236a 100644 --- a/cmd/jet/main.go +++ b/cmd/jet/main.go @@ -94,9 +94,9 @@ func init() { flag.StringVar(&viewPkg, "rel-view-path", "view", "Relative path for the View files package from the destination directory.") flag.StringVar(&enumPkg, "rel-enum-path", "enum", "Relative path for the Enum files package from the destination directory.") - flag.StringVar(&allowTables, "allow-tables", "", `Comma-separated list of tables to allow.`) - flag.StringVar(&allowViews, "allow-views", "", `Comma-separated list of views to allow. Will override ignore-views flag.`) - flag.StringVar(&allowEnums, "allow-enums", "", `Comma-separated list of enums to allow.`) + flag.StringVar(&allowTables, "allow-tables", "", `Comma-separated list of tables to allow. Takes precedence over --ignore-tables flag.`) + flag.StringVar(&allowViews, "allow-views", "", `Comma-separated list of views to allow. Takes precedence over --ignore-views flag.`) + flag.StringVar(&allowEnums, "allow-enums", "", `Comma-separated list of enums to allow. Takes precedence over --ignore-enums flag.`) } func main() {