Skip to content

The agent that grows with you

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

ethernetfeddb800bc9c
diff --git a/scripts/update-test/HANDOFF.md b/scripts/update-test/HANDOFF.md
index b9952c6ec8f..bf2edc04788 100644
--- a/scripts/update-test/HANDOFF.md
+++ b/scripts/update-test/HANDOFF.md
@@ -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.
diff --git a/scripts/update-test/hermes-update-rehearsal.ps1 b/scripts/update-test/hermes-update-rehearsal.ps1
index 9bdf56dfa63..dc41e9b98f4 100755
--- a/scripts/update-test/hermes-update-rehearsal.ps1
+++ b/scripts/update-test/hermes-update-rehearsal.ps1
@@ -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