PowerShell / PowerShellStandard

MIT License
159 stars 24 forks source link

Template option --powershell-standard-version incorrectly lists 5.1.0 instead of its current choice of 7.0.0-preview.1 #87

Open connor-roehricht opened 4 years ago

connor-roehricht commented 4 years ago

To reproduce:

dotnet new -i ./src/dotnetTemplate/Microsoft.PowerShell.Standard.Module.Template/Microsoft.PowerShell.Standard.Module.Template
dotnet new psmodule --help

Actual output contains:

  -v|--powershell-standard-version
                                        5.1.0               - PowerShell Standard 5.1
                                        3.0.0-preview-02    - PowerShell Standard 3.0

Expected (according to README.md):

  -v|--powershell-standard-version
                                        7.0.0-preview.1     - PowerShell Standard 7.0.0-preview.1
                                        3.0.0-preview-02    - PowerShell Standard 3.0
                                    Default: 7.0.0-preview.1