summaryrefslogtreecommitdiff
path: root/runtime/main.zig
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/main.zig')
-rw-r--r--runtime/main.zig21
1 files changed, 11 insertions, 10 deletions
diff --git a/runtime/main.zig b/runtime/main.zig
index 563461ed..a791ffec 100644
--- a/runtime/main.zig
+++ b/runtime/main.zig
@@ -280,17 +280,18 @@ const cmds = std.EnumArray(Cmd, Doc).init(.{
.attach = .{
.group = .Sessions,
.args = "[NAME]",
- .line = "show a detached session here (HOST:NAME: over ssh)",
+ .line = "show a session here, as a client (HOST:NAME: over ssh)",
.doc =
- \\Show a detached session here: in this terminal for pardes, a window
- \\for pardes-gui. Bare, the one detached session (with none, the one
- \\session). One with a frontend already, or of the other kind, is joined
- \\as a client. HOST:NAME is a client of session NAME on another machine,
- \\over `ssh -L` to its pardes-replica.sock ($PARDES_SSH: the ssh
- \\command, default ssh; $PARDES_REMOTE_RUNTIME: its runtime directory,
- \\if not this one's path); SOCK:NAME goes through a socket forwarded
- \\already (a path, with a '/'). Returns when the session detaches or
- \\ends.
+ \\Show a session here as a client: a process of its own, with a copy of
+ \\the session's core and a view of its own, in this terminal for pardes,
+ \\a window for pardes-gui, whatever the session was started in. Bare,
+ \\the one detached session (with none, the one session). HOST:NAME is a
+ \\client of session NAME on another machine, over `ssh -L` to its
+ \\pardes-replica.sock ($PARDES_SSH: the ssh command, default ssh;
+ \\$PARDES_REMOTE_RUNTIME: its runtime directory, if not this one's
+ \\path); SOCK:NAME goes through a socket forwarded already (a path, with
+ \\a '/'). Returns when it is let go: its Detach or its terminal or window
+ \\closing (the session runs on), or the session's end.
,
.examples = &.{
.{ "pardes attach", "the one detached session" },