From a600f5a56e126e74a389ac0a0ff28b232d878aae Mon Sep 17 00:00:00 2001 From: Amolith Date: Thu, 30 Oct 2025 11:26:26 -0600 Subject: [PATCH] docs(cmd/s): add examples to np s error output Co-authored-by: Crush --- cmd/s.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/s.go b/cmd/s.go index 76ea0ca811ecf73220d5c58e225632d1a2384bc5..93161e88c6ed9ad4480f8fd6a663f08f066be578 100644 --- a/cmd/s.go +++ b/cmd/s.go @@ -48,7 +48,7 @@ func runStartSession(cmd *cobra.Command, args []string) error { func printExistingSession(cmd *cobra.Command, existing session.Document) error { out := cmd.OutOrStdout() _, _ = fmt.Fprintf(out, "Session %s is already active for %s.\n", existing.SID, existing.DirPath) - _, _ = fmt.Fprintln(out, "There's already an active session for this directory; ask your operator whether they want to resume or archive it.") + _, _ = fmt.Fprintln(out, "Ask your operator whether they want to resume (`np r`) or archive (`np a`) it.") return nil }