Răsfoiți Sursa

Say what help's output changed, and stop claiming removeSocket removes a directory

- the CHANGELOG said ssh output with no flags was unchanged; help now lists -json and -pretty on every command, which the render commit's message says and the goldens show
- removeSocket's comment described the directory removal that was dropped

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Matt Richardson 5 ore în urmă
părinte
comite
068ee85bf4
1 a modificat fișierele cu 2 adăugiri și 5 ștergeri
  1. 2 5
      localapi/platform_unix.go

+ 2 - 5
localapi/platform_unix.go

@@ -281,11 +281,8 @@ func clearStale(path string) error {
 	return os.Remove(path)
 }
 
-// removeSocket unlinks the socket node and, when listen made the directory it is in,
-// removes that too, so a socket that moves off an override or a daemon that stops
-// leaves nothing behind. A directory that came with the environment, a service
-// manager's runtime directory or one the operator pointed us into, is not ours to
-// remove and is left as it was.
+// removeSocket unlinks the socket node. Its directory stays, whoever made it; see
+// listen.
 //
 // Only the node id names is removed. One that replaced it is another daemon's, bound
 // after ours was taken from under us, and is left where it is. A zero id, a node that