From 6a1e80e6b14ba8386fd09358cfeef06860164d1f Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Tue, 31 Oct 2023 11:27:15 +0100 Subject: [PATCH] chore(cli) clarify select-tags behaviour in 'sync' help text --- cmd/gateway_sync.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/gateway_sync.go b/cmd/gateway_sync.go index f207756bd..9f8ff99c6 100644 --- a/cmd/gateway_sync.go +++ b/cmd/gateway_sync.go @@ -83,7 +83,8 @@ to get Kong's state in sync with the input state.`, syncCmd.Flags().StringSliceVar(&dumpConfig.SelectorTags, "select-tag", []string{}, "only entities matching tags specified via this flag are synced.\n"+ - "When this setting has multiple tag values, entities must match every tag.") + "When this setting has multiple tag values, entities must match every tag.\n"+ + "All entities in the state file will get the select-tags assigned if not present already.") syncCmd.Flags().BoolVar(&dumpConfig.RBACResourcesOnly, "rbac-resources-only", false, "diff only the RBAC resources (Kong Enterprise only).") syncCmd.Flags().IntVar(&syncCmdDBUpdateDelay, "db-update-propagation-delay",