diff options
Diffstat (limited to 'plugins/code-modernization/commands')
| -rw-r--r-- | plugins/code-modernization/commands/modernize-assess.md | 6 | ||||
| -rw-r--r-- | plugins/code-modernization/commands/modernize-harden.md | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/code-modernization/commands/modernize-assess.md b/plugins/code-modernization/commands/modernize-assess.md index 5f19981f..4bf5734c 100644 --- a/plugins/code-modernization/commands/modernize-assess.md +++ b/plugins/code-modernization/commands/modernize-assess.md @@ -6,9 +6,9 @@ arguments: system **Mode select.** If `$ARGUMENTS` starts with `--portfolio`, run **Portfolio mode** against the directory that follows. Otherwise run **Single-system -mode** against the system dir. Parse flags positionally-independently: -`--show-secrets` may appear before or after the system dir — the system -dir is the first non-flag token. +mode** against the system dir, which is the first token (`$system`). Flags +go after it — `<system-dir> --show-secrets` — since a flag in first place +would be read as the system dir. --- diff --git a/plugins/code-modernization/commands/modernize-harden.md b/plugins/code-modernization/commands/modernize-harden.md index 64fb73c4..7275ffee 100644 --- a/plugins/code-modernization/commands/modernize-harden.md +++ b/plugins/code-modernization/commands/modernize-harden.md @@ -6,9 +6,9 @@ arguments: system Run a **security hardening pass** on the legacy system: find vulnerabilities, rank them, and produce a reviewable patch for the -critical ones. Parse arguments flag-independently: the system dir -(referred to as `$system` below) is the first non-flag token in `$ARGUMENTS`; -`--show-secrets` may appear anywhere. +critical ones. The system dir (`$system` below) is the first argument; +flags go after it — `<system-dir> --show-secrets` — since a flag in first +place would be read as the system dir. This command never edits `legacy/` — it writes findings and a proposed patch to `analysis/$system/`. The user reviews and applies (or not). |
