fix: Update error message to include --json flag option

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Alejandro Gómez
2026-01-16 16:02:27 +01:00
parent 345b760cec
commit 28e8d30ac9

View File

@@ -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 <event-json>",
);
}