Show subcommand help instead of main dotnet nuget trust command help for all cases #10788
Labels
Area:ErrorHandling
warnings and errors/log messages & related error codes.
Area:Logging
Category:Quality Week
Issues that should be considered for quality week
Priority:2
Issues for the current backlog.
Product:dotnet.exe
Type:Feature
Milestone
Details about Problem
NuGet product used (dotnet.exe):
Product version:
Worked before? If so, with which NuGet version: N/A
Repro steps and/or sample project
Printing out help doesn't help at all unless the error itself has to do with a command, argument, or option being invalid.
Current experience show help for
dotnet nuget
is different fromnuget.exe
. It show help when there is a exception like InvalidOperationException even though it's nothing to do witha command, argument, or option being invalid
For example:

It adds red marked help even though it's not really needed.

Verbose Logs
The text was updated successfully, but these errors were encountered: