From 0cb0fede77bb2bb3bb7d5df20973902546c8c4f7 Mon Sep 17 00:00:00 2001 From: Tomasz Knura Date: Tue, 7 Jul 2026 18:15:48 +0200 Subject: [PATCH] fix(cli): correct registered integration add usage string to --opt The cobra Use string advertised a --options flag that does not exist; the actual flag is --opt (as already shown in the command Example). This corrects the usage string so help output and generated CLI reference docs reflect the real flag. Signed-off-by: Tomasz Knura --- app/cli/cmd/registered_integration_add.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cli/cmd/registered_integration_add.go b/app/cli/cmd/registered_integration_add.go index eff0341f2..60646a0f8 100644 --- a/app/cli/cmd/registered_integration_add.go +++ b/app/cli/cmd/registered_integration_add.go @@ -33,7 +33,7 @@ func newRegisteredIntegrationAddCmd() *cobra.Command { var integrationDescription, integrationName string cmd := &cobra.Command{ - Use: "add INTEGRATION_ID --name [registration-name] --options key=value,key=value", + Use: "add INTEGRATION_ID --name [registration-name] --opt key=value", Short: "Register a new instance of an integration", Example: ` chainloop integration registered add dependencytrack --name send-to-prod --opt instance=https://deptrack.company.com,apiKey=1234567890 --opt username=chainloop`, Args: cobra.ExactArgs(1),