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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user