summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 08:15:36 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:16 -0300
commit4a7d377d160cd95c89acad2abaf08bc533ff02a8 (patch)
treed3b0fb33e1a21010ce08c41cea4870a21b146154 /docs
parenta630f5e83ef9efabca790770112dcea689384631 (diff)
downloadpardes-4a7d377d160cd95c89acad2abaf08bc533ff02a8.tar.gz
pardes-4a7d377d160cd95c89acad2abaf08bc533ff02a8.zip
A builtin that needs its argument, written bare to an exec, is EINVAL as through ctl
Through a ctl the bare word was refused up front (EINVAL); through exec it ran, failed with EIO or asked for the argument. The exec now refuses it the same way before it runs. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs')
-rw-r--r--docs/fs.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/fs.md b/docs/fs.md
index 84b27b1f..4b0214c3 100644
--- a/docs/fs.md
+++ b/docs/fs.md
@@ -262,7 +262,10 @@ refused here has done nothing. A line that then fails as it runs fails the
write with the error the editor reports for it and the line, e.g. `Mount:
already mounted "Mount peer /tmp/s"` (EIO), and `control message needs its
argument "Save"` (EINVAL), for a builtin that would have asked at a prompt
-(a `Save` on a scratch) rather than open one nobody is there to answer. The
+(a `Save` on a scratch) rather than open one nobody is there to answer. A
+builtin that means nothing without its argument (`Mount`, `Msg`, `Find`),
+written bare to an `exec` or `/tagexec`, is refused the same way, `wrong
+#args in control message "Mount"` (EINVAL), before it runs. The
lines before a failing one have taken effect and those after it never run,
which is what acme's ctl loop does (editors/acme/xfid.c:600-790). An error
that only happens as the editor performs what a line asked for -- a `Save`