Skip to content

Commit 856c7db

Browse files
kaanyaltimergify[bot]
authored andcommitted
fix(6235): added long description for the validate command (#6531)
(cherry picked from commit 3f87f78)
1 parent e2fef40 commit 856c7db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/pkg/agent/cmd/validate.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ func newValidateCommandWithArgs(_ []string, _ *cli.IOStreams) *cobra.Command {
1717
cmd := &cobra.Command{
1818
Use: "validate",
1919
Short: "Validates the OpenTelemetry collector configuration without running the collector",
20+
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.",
2021
SilenceUsage: true, // do not display usage on error
2122
SilenceErrors: true,
2223
RunE: func(cmd *cobra.Command, _ []string) error {

0 commit comments

Comments
 (0)