diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-30 11:55:25 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:17 -0300 |
| commit | 8c86eb1bccf5846d5f5b627845f640e3b6b12134 (patch) | |
| tree | aba9d20470ce7504d6f75a5e2226f2f4702abe65 /docs | |
| parent | ff161c1200e57f10bfc5d5b7dc6fc573967b9303 (diff) | |
| download | pardes-8c86eb1bccf5846d5f5b627845f640e3b6b12134.tar.gz pardes-8c86eb1bccf5846d5f5b627845f640e3b6b12134.zip | |
A builtin that takes no argument, written with one to an exec, is refused wrong #args as at a ctl
At a ctl, `Config extra` and `DumpConfig extra` were refused with
`wrong #args`. Written to an exec, the builtin match missed, since the word
takes no argument, and the line ran as a shell command named Config, which
did nothing and said nothing. An exec now refuses it with the ctl's words.
A setting word keeps its value (`Verbose off`).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/fs.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -211,7 +211,8 @@ A line written to `exec` is a middle click: - a builtin word runs (`/commands` lists them): `Save`, `Del`, `New`, `Tty [shell]`, `Msg text`, `Find`, `Grep`, `Edit ...`, `Mount`, ... A builtin that needs its argument (`Msg`, `Mount`, `Find`) written bare is - `wrong #args in control message "Msg"`. + `wrong #args in control message "Msg"`, and so is one that takes none + written with one (`Config extra`). - acme's words run as pardes's where it has one (`Put` is `Save`, `Delete` a `Del` that does not ask); the rest (`Get`, `Putall`, `Snarf`, `Cut`, `Paste`, `Zerox`, `Sort`, `Load`, `ID`, `Send`, `Tab`, `Indent`, `Local`, |
