docs(update-test): use PowerShell parameter syntax in the ps1 examples

The script's .EXAMPLE and HANDOFF.md told Windows users to pass --source,
--ref and --yes, which PowerShell rejects as extra positional arguments.
Use -Source, -Ref and -Yes.
This commit is contained in:
ethernet
2026-09-23 00:31:13 -04:00
parent b25eb5b33d
commit feddb800bc
2 changed files with 2 additions and 2 deletions

View File

@@ -29,6 +29,6 @@ instructions:
`curl -fsSL "sh_url?t=$(date +%s)" | bash -s -- post --yes`
windows:
`& ([scriptblock]::Create((irm "ps1_url1" -Headers @{"Cache-Control"="no-cache"}))) post --yes`
`& ([scriptblock]::Create((irm "ps1_url1" -Headers @{"Cache-Control"="no-cache"}))) post -Yes`
this puts hermes back to exactly how it was beforehand.

View File

@@ -32,7 +32,7 @@
post: skip the confirmation.
.EXAMPLE
./hermes-update-rehearsal.ps1 pre --source <git-url> --ref <branch>
./hermes-update-rehearsal.ps1 pre -Source <git-url> -Ref <branch>
# ... run `hermes update`, use Hermes, test ...
./hermes-update-rehearsal.ps1 post