Skip to content

Commit 12c5662

Browse files
committed
docs(cli): note that usage errors precede the --target-dir check (Refs #372)
1 parent ff42157 commit 12c5662

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎docs/operating.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ runtime=directory presence=present compatibility=compatible action=configure tou
8181
- `error=invalid_target` (exit 64) — the path is missing, relative, or not a directory.
8282
Doctor, update, and uninstall refuse an empty, relative, or unclean `--target-dir` with the
8383
same error before reading or writing anything; an empty value never falls back to the
84-
runtime mode. A missing absolute target keeps each command's own answer (doctor reports
84+
runtime mode. A malformed command line is still refused first as `invalid_command` (for
85+
example `update --target-dir <dir>` without `--catalog`). A missing absolute target keeps each command's own answer (doctor reports
8586
`presence=absent`, update refuses with `reason=target_absent`), and uninstall also
8687
refuses a filesystem root.
8788
- Update and uninstall work on the recorded ownership:

0 commit comments

Comments
 (0)