Skip to content

Commit f228e26

Browse files
committed
Update help to correct filename
1 parent 054ca6c commit f228e26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

module/PowerShellEditorServices/Commands/Public/CmdletInterface.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ function Unregister-EditorCommand {
8686
Creates and opens a new foo.ps1 in your editor
8787
.EXAMPLE
8888
PS > Get-Process | New-EditorFile proc.txt
89-
Creates and opens a new foo.ps1 in your editor with the contents of the call to Get-Process
89+
Creates and opens a new proc.txt in your editor with the contents of the call to Get-Process
9090
.EXAMPLE
9191
PS > Get-Process | New-EditorFile proc.txt -Force
92-
Creates and opens a new foo.ps1 in your editor with the contents of the call to Get-Process. Overwrites the file if it already exists
92+
Creates and opens a new proc.txt in your editor with the contents of the call to Get-Process. Overwrites the file if it already exists
9393
.INPUTS
9494
Path
9595
an array of files you want to open in your editor

0 commit comments

Comments
 (0)