From 0d81f8474462e33c39b5b3f28872bb064d22f746 Mon Sep 17 00:00:00 2001 From: Will Howard Date: Thu, 30 Jul 2026 10:23:58 +0000 Subject: [PATCH] Tighten the CLI copy to match the Linux wording settle becomes debounce, 'local only' is cut from the add confirmation, the status help line stops mentioning the menu, and doctor stops naming a specific key file. Co-Authored-By: Claude Fable 5 --- Sources/CLI.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/CLI.swift b/Sources/CLI.swift index f369906..71835bb 100644 --- a/Sources/CLI.swift +++ b/Sources/CLI.swift @@ -51,8 +51,8 @@ enum CLI { Config.append(line) ensureDaemonRunning() - let pushNote = spec.remote.map { "→ \($0)/\(spec.branch ?? Git.currentBranch(spec.workDir))" } ?? "local only" - print("✓ watching \(spec.name) (\(spec.path)) \(pushNote), settle \(Int(spec.settle))s") + let pushNote = spec.remote.map { "→ \($0)/\(spec.branch ?? Git.currentBranch(spec.workDir)), " } ?? "" + print("✓ watching \(spec.name) (\(spec.path)) \(pushNote)debounce \(Int(spec.settle))s") print(" gitwatchd status to see everything watched") return 0 } @@ -138,7 +138,7 @@ enum CLI { let keys = runProcess("/usr/bin/ssh-add", ["-l"], env: env) let n = keys.code == 0 ? keys.out.split(separator: "\n").count : 0 print(" SSH_AUTH_SOCK present · \(n) key\(n == 1 ? "" : "s") in agent") - if n == 0 { print(" ⚠ no keys loaded: SSH pushes may fail. Add: ssh-add --apple-use-keychain ~/.ssh/id_ed25519") } + if n == 0 { print(" ⚠ no keys loaded: SSH pushes may fail. Add one with: ssh-add") } } else { print(" SSH_AUTH_SOCK (unset) ⚠ SSH pushes will fail from the daemon") } @@ -285,7 +285,7 @@ enum CLI { rm stop watching a repo pause stop watching temporarily; the repo stays listed resume start watching again and commit what piled up - status everything the menu shows, in the terminal + status show everything being watched, along with any errors start, stop start or stop the menu-bar daemon autostart [on|off|status] launch the daemon at login (on by default on install)