Closed
Description
From @HarelM on October 21, 2017 21:17
Steps to reproduce
run dotnet
from command line.
this outputs:
Usage: dotnet [options]
Usage: dotnet [path-to-application]
Options:
-h|--help Display help.
--version Display version.
path-to-application:
The path to an application .dll file to execute.
Then run dotnet --version
To receive:
Did you mean to run dotnet SDK commands? Please install dotnet SDK from:
http://go.microsoft.com/fwlink/?LinkID=798306&clcid=0x409
Expected behavior
Either --version will work or -- version will not appear in the help.
Actual behavior
Irrelevant error message - turn out I needed to use --info instead of --version
Environment data
dotnet --info
output:
Microsoft .NET Core Shared Framework Host
Version : 2.0.0
Build : e8b8861
Copied from original issue: dotnet/cli#7881