docs: fix misleading help text for gt mail read (#565)

The help text claimed 'gt mail read' marks messages as read, but this
was intentionally removed in 71d313ed to preserve handoff messages.

Update the help text to accurately reflect the current behavior and
point users to 'gt mail mark-read' for explicit read marking.
This commit is contained in:
Steve Whittaker
2026-01-16 17:22:09 -06:00
committed by GitHub
parent d42a9bd6e0
commit c51047b654

View File

@@ -150,9 +150,10 @@ Examples:
var mailReadCmd = &cobra.Command{
Use: "read <message-id>",
Short: "Read a message",
Long: `Read a specific message and mark it as read.
Long: `Read a specific message (does not mark as read).
The message ID can be found from 'gt mail inbox'.`,
The message ID can be found from 'gt mail inbox'.
Use 'gt mail mark-read' to mark messages as read.`,
Aliases: []string{"show"},
Args: cobra.ExactArgs(1),
RunE: runMailRead,