From 28e8d30ac9666325856fbdf790d24c36850afb5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20G=C3=B3mez?= Date: Fri, 16 Jan 2026 16:02:27 +0100 Subject: [PATCH] fix: Update error message to include --json flag option Co-Authored-By: Claude Sonnet 4.5 --- src/lib/open-parser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/open-parser.ts b/src/lib/open-parser.ts index 752aab1..6b45ad8 100644 --- a/src/lib/open-parser.ts +++ b/src/lib/open-parser.ts @@ -175,6 +175,6 @@ export function parseOpenCommand(args: string[]): ParsedOpenCommand { } throw new Error( - "Invalid event identifier. Supported formats: note1..., nevent1..., naddr1..., hex ID, or kind:pubkey:d-tag", + "Invalid event identifier. Supported formats: note1..., nevent1..., naddr1..., hex ID, kind:pubkey:d-tag, or --json ", ); }