You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified this is the correct repository for opening this issue.
I have verified no other issues exist related to my problem.
I have verified this is not an issue for a specific package.
I have verified this issue is not security related.
I confirm I am using official, and not unofficial, or modified, Chocolatey products.
What You Are Seeing?
Many commands that support username and password will behave unexpectedly if you pass -user anyValue -p.
For instance:
install: Outputs help, complains that a package name is required.
search: Outputs help, prompts for a password.
There are possibly other commands effected.
What is Expected?
Help shouldn't be output and commands should behave as expected and consistently.
How Did You Get This To Happen?
choco install cloudflared -u test -p
This shows the install command help and complains that a package name is required: Package name is required. Please pass at least one package name to install.
choco search cloudflared -u test -p
This shows the search command help and prompts for a password: User name 'test' provided. Password:
System Details
Operating System: Windows 11
Windows PowerShell Version: 7
Chocolatey CLI Version: 2.3
Chocolatey Licensed Extension version: 6.2.1
Chocolatey License type (Professional / Business / ?): Business
Checklist
What You Are Seeing?
Many commands that support username and password will behave unexpectedly if you pass
-user anyValue -p
.For instance:
install
: Outputs help, complains that a package name is required.search
: Outputs help, prompts for a password.There are possibly other commands effected.
What is Expected?
Help shouldn't be output and commands should behave as expected and consistently.
How Did You Get This To Happen?
choco install cloudflared -u test -p
This shows the install command help and complains that a package name is required:
Package name is required. Please pass at least one package name to install.
choco search cloudflared -u test -p
This shows the search command help and prompts for a password:
User name 'test' provided. Password:
System Details
Installed Packages
N/A
Output Log
N/A
Additional Context
The text was updated successfully, but these errors were encountered: