Skip to content
This repository has been archived by the owner on Dec 15, 2020. It is now read-only.

Instructions for installing specific version are incorrect #33

Closed
bc3tech opened this issue Sep 19, 2016 · 0 comments
Closed

Instructions for installing specific version are incorrect #33

bc3tech opened this issue Sep 19, 2016 · 0 comments

Comments

@bc3tech
Copy link

bc3tech commented Sep 19, 2016

On the site it says to install the specific version of a package the user should use -version <version number>
which results in this from the choco cmd line:

PS C:\WINDOWS\system32> cup phraseexpress -y -version 12.0.93
Parsing -version resulted in exception:
 Cannot bundle unregistered option '-e'.
Chocolatey v0.10.0 Business

the actual flag is --version (two dashes) which works as intended.

PS C:\WINDOWS\system32> cup phraseexpress -y --version 12.0.93
Chocolatey v0.10.0 Business
Upgrading the following packages:
phraseexpress
By upgrading you accept licenses for the packages.
phraseexpress v12.0.93 is the latest version available based on your source(s).

Anywhere we cite -version to be used with choco needs to be fixed.

ferventcoder added a commit that referenced this issue Oct 4, 2016
(GH-33) Instructions for installing specific version are incorrect
ferventcoder added a commit that referenced this issue Oct 4, 2016
* upstream/master:
  shoring up ReleaseNotes.md's history as it relates to --version and -version
  Added quick link to "no internet" install option
  (GH-33) Instructions for installing specific version are incorrect usage of `-version` produces warning lines in choco. `--version` is the correct parameter name Fixes #33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant