Skip to content

Commit 4ad697e

Browse files
authored
fix command syntax order in update command examples (#619)
1 parent 2531c32 commit 4ad697e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/update.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,29 +77,29 @@ In some cases, the publisher of the package may use a different marketing versio
7777

7878
Search for an existing manifest and update the version:
7979

80-
`wingetcreate.exe update --version <Version> <PackageIdentifier>`
80+
`wingetcreate.exe update <PackageIdentifier> --version <Version>`
8181

8282
Search for an existing manifest and update the installer url:
8383

84-
`wingetcreate.exe update --urls <InstallerUrl1> <InstallerUrl2> <PackageIdentifier>`
84+
`wingetcreate.exe update <PackageIdentifier> --urls <InstallerUrl1> <InstallerUrl2>`
8585

8686
Save and publish updated manifest:
8787

88-
`wingetcreate.exe update --out <OutputDirectory> --token <GitHubPersonalAccessToken> --version <Version> <PackageIdentifier>`
88+
`wingetcreate.exe update <PackageIdentifier> --out <OutputDirectory> --token <GitHubPersonalAccessToken> --version <Version>`
8989

9090
Override the architecture of an installer:
9191

92-
`wingetcreate.exe update --urls '<InstallerUrl1>|<InstallerArchitecture>' --version <Version> <PackageIdentifier>`
92+
`wingetcreate.exe update <PackageIdentifier> --urls '<InstallerUrl1>|<InstallerArchitecture>' --version <Version>`
9393

9494
Override the scope of an installer:
95-
`wingetcreate.exe update --urls '<InstallerUrl1>|<InstallerScope>' --version <Version> <PackageIdentifier>`
95+
`wingetcreate.exe update <PackageIdentifier> --urls '<InstallerUrl1>|<InstallerScope>' --version <Version>`
9696

9797
> [!NOTE]
9898
> The <kbd>|</kbd> character is interpreted as the pipeline operator in most shells. To use the overrides, you should wrap the installer url in quotes.
9999
100100
Update an existing manifest and submit PR to GitHub:
101101

102-
`wingetcreate.exe update --submit --token <GitHubPersonalAccessToken> --urls <InstallerUrl1> <InstallerUrl2> --version <Version> <PackageIdentifier>`
102+
`wingetcreate.exe update <PackageIdentifier> --submit --token <GitHubPersonalAccessToken> --urls <InstallerUrl1> <InstallerUrl2> --version <Version>`
103103

104104
## Arguments
105105

0 commit comments

Comments
 (0)