From 47afb60413ee66d5e467befb16eb17204d26b22c Mon Sep 17 00:00:00 2001 From: kaanyalti Date: Thu, 16 Jan 2025 14:53:14 -0500 Subject: [PATCH] fix(6235): added long description for the validate command --- internal/pkg/agent/cmd/validate.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/pkg/agent/cmd/validate.go b/internal/pkg/agent/cmd/validate.go index 098c50dba17..2853e4c9cdf 100644 --- a/internal/pkg/agent/cmd/validate.go +++ b/internal/pkg/agent/cmd/validate.go @@ -17,6 +17,7 @@ func newValidateCommandWithArgs(_ []string, _ *cli.IOStreams) *cobra.Command { cmd := &cobra.Command{ Use: "validate", Short: "Validates the OpenTelemetry collector configuration without running the collector", + Long: "Validates the OpenTelemetry collector configuration without running the collector. Validation will fail for otel-elastic hybrid configuration files. This command will return true for valid otel configurations only.", SilenceUsage: true, // do not display usage on error SilenceErrors: true, RunE: func(cmd *cobra.Command, _ []string) error {