Skip to content

Parsing "-version" results in a warning message (instead of "--version") #842

Open
@pascalberger

Description

@pascalberger

What You Are Seeing?

I'm installing a Chocolatey package from a private feed, versioned accordingly to SemVer:

choco install mypackage -Version 1.16.0-unstable0017 -Source http://myFeed

While installing works fine, 'choco.exe' outputs this message:

Parsing -Version resulted in exception:
 Cannot bundle unregistered option '-e'.

What is Expected?

'choco.exe' should not output a message since the version is a valid version according to SemVer.

How Did You Get This To Happen? (Steps to Reproduce)

  • Create a package with the above version number
  • Install it

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions