diff --git a/cmd/atlantis_generate.go b/cmd/atlantis_generate.go index 5fe98114f..97688d568 100644 --- a/cmd/atlantis_generate.go +++ b/cmd/atlantis_generate.go @@ -9,7 +9,7 @@ var atlantisGenerateCmd = &cobra.Command{ Use: "generate", Short: "Execute 'atlantis generate' commands", Long: "This command generates various Atlantis configurations", - FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: true}, + FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: false}, } func init() { diff --git a/cmd/atlantis_generate_repo_config.go b/cmd/atlantis_generate_repo_config.go index 1cc88a43b..dc18b0e0a 100644 --- a/cmd/atlantis_generate_repo_config.go +++ b/cmd/atlantis_generate_repo_config.go @@ -11,7 +11,7 @@ var atlantisGenerateRepoConfigCmd = &cobra.Command{ Use: "repo-config", Short: "Execute 'atlantis generate repo-config`", Long: "This command generates repository configuration for Atlantis", - FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: true}, + FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: false}, Run: func(cmd *cobra.Command, args []string) { err := e.ExecuteAtlantisGenerateRepoConfigCmd(cmd, args) if err != nil { diff --git a/cmd/describe.go b/cmd/describe.go index 1a7a9783c..4e134f584 100644 --- a/cmd/describe.go +++ b/cmd/describe.go @@ -9,7 +9,7 @@ var describeCmd = &cobra.Command{ Use: "describe", Short: "Execute 'describe' commands", Long: `This command shows configuration for CLI, stacks and components`, - FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: true}, + FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: false}, } func init() { diff --git a/cmd/describe_affected.go b/cmd/describe_affected.go index 1f611079f..fc20c9709 100644 --- a/cmd/describe_affected.go +++ b/cmd/describe_affected.go @@ -12,7 +12,7 @@ var describeAffectedCmd = &cobra.Command{ Use: "affected", Short: "Execute 'describe affected' command", Long: `This command produces a list of the affected Atmos components and stacks given two Git commits: atmos describe stacks [options]`, - FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: true}, + FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: false}, Run: func(cmd *cobra.Command, args []string) { err := e.ExecuteDescribeAffectedCmd(cmd, args) if err != nil { diff --git a/cmd/describe_component.go b/cmd/describe_component.go index cd8eb3b23..d1e0b95dd 100644 --- a/cmd/describe_component.go +++ b/cmd/describe_component.go @@ -11,7 +11,7 @@ var describeComponentCmd = &cobra.Command{ Use: "component", Short: "Execute 'describe component' command", Long: `This command shows configuration for an atmos component in a stack: atmos describe component -s `, - FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: true}, + FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: false}, Run: func(cmd *cobra.Command, args []string) { err := e.ExecuteDescribeComponentCmd(cmd, args) if err != nil { diff --git a/cmd/describe_config.go b/cmd/describe_config.go index 71e34966a..5d27f1801 100644 --- a/cmd/describe_config.go +++ b/cmd/describe_config.go @@ -11,7 +11,7 @@ var describeConfigCmd = &cobra.Command{ Use: "config", Short: "Execute 'describe config' command", Long: `This command shows the final (deep-merged) CLI configuration: atmos describe config`, - FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: true}, + FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: false}, Run: func(cmd *cobra.Command, args []string) { err := e.ExecuteDescribeConfigCmd(cmd, args) if err != nil { diff --git a/cmd/describe_stacks.go b/cmd/describe_stacks.go index 68f7c2107..c3854586e 100644 --- a/cmd/describe_stacks.go +++ b/cmd/describe_stacks.go @@ -11,7 +11,7 @@ var describeStacksCmd = &cobra.Command{ Use: "stacks", Short: "Execute 'describe stacks' command", Long: `This command shows configuration for atmos stacks and components in the stacks: atmos describe stacks [options]`, - FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: true}, + FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: false}, Run: func(cmd *cobra.Command, args []string) { err := e.ExecuteDescribeStacksCmd(cmd, args) if err != nil { diff --git a/cmd/helmfile_generate.go b/cmd/helmfile_generate.go index 4de90f6cb..39532c7ae 100644 --- a/cmd/helmfile_generate.go +++ b/cmd/helmfile_generate.go @@ -9,7 +9,7 @@ var helmfileGenerateCmd = &cobra.Command{ Use: "generate", Short: "Execute 'helmfile generate' commands", Long: "This command generates configurations for helmfile components", - FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: true}, + FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: false}, } func init() { diff --git a/cmd/terraform_generate.go b/cmd/terraform_generate.go index de3a8d49b..1c51e9acf 100644 --- a/cmd/terraform_generate.go +++ b/cmd/terraform_generate.go @@ -9,7 +9,7 @@ var terraformGenerateCmd = &cobra.Command{ Use: "generate", Short: "Execute 'terraform generate' commands", Long: "This command generates configurations for terraform components", - FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: true}, + FParseErrWhitelist: struct{ UnknownFlags bool }{UnknownFlags: false}, } func init() {