Skip to content

"help" command on Linux shouldn't run "less" command in case of HelpNotFoundException #8524

@alexandair

Description

@alexandair

Steps to reproduce

PS /> help foobar

Expected behavior

In case of HelpNotFoundException, 'help` command should emit the error message and stop.

Actual behavior

In case of HelpNotFoundException, 'help` command emits the error message and runs "less" command.

Environment data

PSVersion                      6.2.0-preview.3
PSEdition                      Core
GitCommitId                    6.2.0-preview.3
OS                             Linux 4.4.0-17763-Microsoft
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

Labels

Issue-BugIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.WG-Interactive-HelpSystemhelp infrastructure and formatting of help

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions