From efc673de54a1d4bad1ff97ca614adac171e86308 Mon Sep 17 00:00:00 2001 From: Luke Russell Date: Thu, 14 May 2026 16:03:43 -0700 Subject: [PATCH] go --- cmd/api/api.go | 2 +- docs/reference/commands/slack_api.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/api/api.go b/cmd/api/api.go index d757edd6..39e60f2c 100644 --- a/cmd/api/api.go +++ b/cmd/api/api.go @@ -57,7 +57,7 @@ func NewCommand(clients *shared.ClientFactory) *cobra.Command { "", "Body format is auto-detected from positional arguments:", " - Multiple key=value args: form-encoded (token in request body)", - " - Single arg starting with { or [: JSON (Bearer token in header)", + " - Single arg starting with \\{ or \\[: JSON (Bearer token in header)", " - No args: token sent in Authorization header", "", "Use --json to explicitly send a JSON body, or --data for a form-encoded body string.", diff --git a/docs/reference/commands/slack_api.md b/docs/reference/commands/slack_api.md index bc134042..30e4e8bf 100644 --- a/docs/reference/commands/slack_api.md +++ b/docs/reference/commands/slack_api.md @@ -11,7 +11,7 @@ Parameters are passed as key=value pairs, a JSON body, or via flags. Body format is auto-detected from positional arguments: - Multiple key=value args: form-encoded (token in request body) - - Single arg starting with { or [: JSON (Bearer token in header) + - Single arg starting with \{ or \[: JSON (Bearer token in header) - No args: token sent in Authorization header Use --json to explicitly send a JSON body, or --data for a form-encoded body string.