--protocolVersion argument description isn't accurate about the default value #14008
Labels
help wanted
Considered good issues for community contributions.
Priority:3
Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.
Product:dotnet.exe
Type:Bug
NuGet Product Used
dotnet.exe
Product Version
.NET 9.0.0
Worked before?
documentation issue
Impact
It bothers me. A fix would be nice
Repro Steps & Context
The description of the
--protocolVersion
argument isn't accurate when we do the commanddotnet nuget add source --help
. Currently it'sBut if we refer to https://learn.microsoft.com/en-us/nuget/reference/nuget-config-file official documentation, we can read this:
The misleading here reside in the default value. When we are reading the description of nuget command line help, it says that it defaults to value 2 if there is nothing. But in the end it's not true if the source URL ending in .json according to the official documentation.
I think the description in help command should be more accurate about the default value.
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: