Steps to reproduce
Expected behavior
Actual behavior
There are several issues in the output of help for the command-line options.
-
The -SettingsFile parameter is not listed in the syntax block but it is listed and described below.
-
Was -LoadProfile actually added? For what purpose? It is not listed in the output for PSv6.
-
The description for -WorkingDirectory includes markdown formatting for the "Set-Location" example, which is not appropriate for console output.
-WorkingDirectory | -wd
Sets the working directory at the start of PowerShell given a valid PowerShell directory path.
Executing `Set-Location -LiteralPath <path>` at startup.
- The the documentation in about_pwsh.md has been improved with more information and better grammar. We should sync those changes into the code.
Environment data
Name Value
---- -----
PSVersion 7.0.0-preview.1
PSEdition Core
GitCommitId 7.0.0-preview.1
OS Microsoft Windows 10.0.18362
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Steps to reproduce
pwsh -?Expected behavior
Actual behavior
There are several issues in the output of help for the command-line options.
The
-SettingsFileparameter is not listed in the syntax block but it is listed and described below.Was
-LoadProfileactually added? For what purpose? It is not listed in the output for PSv6.The description for
-WorkingDirectoryincludes markdown formatting for the "Set-Location" example, which is not appropriate for console output.Environment data