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?
When attempting to run Chocolatey CLI in a non-elevated mode, a warning is outputted to the user about the --trace option not being available, despite the argument not being used.
What is Expected?
When the argument is not used, it was not expected that this warning would be outputted.
How Did You Get This To Happen?
From a non-elevated session, without Background Service enabled, run choco search chocolatey.
Notice a warning about the trace option is outputted.
This updates the warning that is outputted in non-elevated mode to not
be outputted when the user has not specified `--trace` on the
commandline.
Without this change, any time a use are running in a non-elevated mode,
they will always have the trace warning outputted even when they haven't
used the argument.
Checklist
What You Are Seeing?
When attempting to run Chocolatey CLI in a non-elevated mode, a warning is outputted to the user about the
--trace
option not being available, despite the argument not being used.What is Expected?
When the argument is not used, it was not expected that this warning would be outputted.
How Did You Get This To Happen?
choco search chocolatey
.System Details
Installed Packages
Output Log
Additional Context
No response
The text was updated successfully, but these errors were encountered: