fix(cli,server): correct remaining --target references to --graph

L6 renamed the flag but left stragglers. Two were functional: the
`resolve_target_uri` "URI must be provided …" error still named `--target`, and
`docker/entrypoint.sh` passed `--target` to omnigraph-server (which now only
accepts `--graph`) — so the container failed to boot. Both fixed (plus the
entrypoint smoke test's expected args). The rest are code comments across the
config/server/cli crates and tests, and the cheat sheet, swept `--target` →
`--graph`. `--target-branch` (policy explain) is a distinct flag and untouched;
past release notes keep `--target` (accurate for those versions).
This commit is contained in:
Ragnor Comerford 2026-06-04 08:56:39 +02:00
parent eb3c36d8aa
commit c2db7b5002
No known key found for this signature in database
8 changed files with 16 additions and 16 deletions

View file

@ -1028,7 +1028,7 @@ graphs:
)],
);
// Client config — the CLI's `--target dev` resolves to `server.base_url`.
// Client config — the CLI's `--graph dev` resolves to `server.base_url`.
let client_config_path = cfg_dir.path().join("client.yaml");
fs::write(
&client_config_path,