-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Executing commands such as any of
dotnet slndotnet adddotnet removedotnet listdotnet sdkdotnet workload
Will simply print the following message without displaying the help text.
Required command was not provided.
I tested this on both main (2c011f2) and the latest preview release 6.0.100-preview.5.21302.13 and both have this same problem.
.NET SDK (reflecting any global.json):
Version: 6.0.100-preview.5.21302.13
Commit: d6380bcae7
This bug is a regression of:
dotnet <cmd>Show help info when no or wrong arguments are given cli#6506dotnet add'dotnet add' with no arguments should probably show output ofdotnet add --help#7558dotnet sln'dotnet sln' with no arguments should probably show output ofdotnet sln --help#7559dotnet slnNot intuitive error message when missing argument (i.e. dotnet sln) #7775