Skip to content

Commit

Permalink
Fix the empty example (#11222)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdwheeler authored Jun 27, 2024
1 parent 286bf9d commit 42f4877
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 12 deletions.
13 changes: 10 additions & 3 deletions reference/5.1/PSReadLine/PSConsoleHostReadLine.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: PSReadLine-help.xml
Locale: en-US
Module Name: PSReadLine
ms.date: 04/25/2022
ms.date: 06/27/2024
online version: https://learn.microsoft.com/powershell/module/psreadline/psconsolehostreadline?view=powershell-5.1&WT.mc_id=ps-gethelp
schema: 2.0.0
title: PSConsoleHostReadLine
Expand All @@ -23,7 +23,7 @@ PSConsoleHostReadLine

`PSConsoleHostReadLine` is the main entry point for the PSReadLine module. The PowerShell console
host automatically loads the PSReadLine module and calls this function. Under normal operating
conditions, this function is not intended to be used from the command line.
conditions, this function isn't intended to be used from the command line.

The extension point `PSConsoleHostReadLine` is special to the console host. The host calls any
alias, function, or script with this name. PSReadLine defines this function so that it is called
Expand All @@ -33,7 +33,11 @@ from the console host.

### Example 1

This function is not intended to be used from the command line.
This function isn't intended to be used from the command line.

```powershell
PSConsoleHostReadLine
```

## PARAMETERS

Expand All @@ -47,6 +51,9 @@ This function is not intended to be used from the command line.

## NOTES

The purpose of this article is to document that this function exists and is used by the PSReadLine
module.

## RELATED LINKS

[about_PSReadLine](./About/about_PSReadLine.md)
13 changes: 10 additions & 3 deletions reference/7.2/PSReadLine/PSConsoleHostReadLine.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: PSReadLine-help.xml
Locale: en-US
Module Name: PSReadLine
ms.date: 04/25/2022
ms.date: 06/27/2024
online version: https://learn.microsoft.com/powershell/module/psreadline/psconsolehostreadline?view=powershell-7.2&WT.mc_id=ps-gethelp
schema: 2.0.0
title: PSConsoleHostReadLine
Expand All @@ -23,7 +23,7 @@ PSConsoleHostReadLine

`PSConsoleHostReadLine` is the main entry point for the PSReadLine module. The PowerShell console
host automatically loads the PSReadLine module and calls this function. Under normal operating
conditions, this function is not intended to be used from the command line.
conditions, this function isn't intended to be used from the command line.

The extension point `PSConsoleHostReadLine` is special to the console host. The host calls any
alias, function, or script with this name. PSReadLine defines this function so that it is called
Expand All @@ -33,7 +33,11 @@ from the console host.

### Example 1

This function is not intended to be used from the command line.
This function isn't intended to be used from the command line.

```powershell
PSConsoleHostReadLine
```

## PARAMETERS

Expand All @@ -47,6 +51,9 @@ This function is not intended to be used from the command line.

## NOTES

The purpose of this article is to document that this function exists and is used by the PSReadLine
module.

## RELATED LINKS

[about_PSReadLine](./About/about_PSReadLine.md)
13 changes: 10 additions & 3 deletions reference/7.4/PSReadLine/PSConsoleHostReadLine.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: PSReadLine-help.xml
Locale: en-US
Module Name: PSReadLine
ms.date: 04/25/2022
ms.date: 06/27/2024
online version: https://learn.microsoft.com/powershell/module/psreadline/psconsolehostreadline?view=powershell-7.4&WT.mc_id=ps-gethelp
schema: 2.0.0
title: PSConsoleHostReadLine
Expand All @@ -23,7 +23,7 @@ PSConsoleHostReadLine

`PSConsoleHostReadLine` is the main entry point for the PSReadLine module. The PowerShell console
host automatically loads the PSReadLine module and calls this function. Under normal operating
conditions, this function is not intended to be used from the command line.
conditions, this function isn't intended to be used from the command line.

The extension point `PSConsoleHostReadLine` is special to the console host. The host calls any
alias, function, or script with this name. PSReadLine defines this function so that it is called
Expand All @@ -33,7 +33,11 @@ from the console host.

### Example 1

This function is not intended to be used from the command line.
This function isn't intended to be used from the command line.

```powershell
PSConsoleHostReadLine
```

## PARAMETERS

Expand All @@ -47,6 +51,9 @@ This function is not intended to be used from the command line.

## NOTES

The purpose of this article is to document that this function exists and is used by the PSReadLine
module.

## RELATED LINKS

[about_PSReadLine](./About/about_PSReadLine.md)
13 changes: 10 additions & 3 deletions reference/7.5/PSReadLine/PSConsoleHostReadLine.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
external help file: PSReadLine-help.xml
Locale: en-US
Module Name: PSReadLine
ms.date: 04/25/2022
ms.date: 06/27/2024
online version: https://learn.microsoft.com/powershell/module/psreadline/psconsolehostreadline?view=powershell-7.5&WT.mc_id=ps-gethelp
schema: 2.0.0
title: PSConsoleHostReadLine
Expand All @@ -23,7 +23,7 @@ PSConsoleHostReadLine

`PSConsoleHostReadLine` is the main entry point for the PSReadLine module. The PowerShell console
host automatically loads the PSReadLine module and calls this function. Under normal operating
conditions, this function is not intended to be used from the command line.
conditions, this function isn't intended to be used from the command line.

The extension point `PSConsoleHostReadLine` is special to the console host. The host calls any
alias, function, or script with this name. PSReadLine defines this function so that it is called
Expand All @@ -33,7 +33,11 @@ from the console host.

### Example 1

This function is not intended to be used from the command line.
This function isn't intended to be used from the command line.

```powershell
PSConsoleHostReadLine
```

## PARAMETERS

Expand All @@ -47,6 +51,9 @@ This function is not intended to be used from the command line.

## NOTES

The purpose of this article is to document that this function exists and is used by the PSReadLine
module.

## RELATED LINKS

[about_PSReadLine](./About/about_PSReadLine.md)

0 comments on commit 42f4877

Please sign in to comment.