Skip to content

Commit 0ec6607

Browse files
Fix typo in Invoke-Formatter documentation
Added a missing word in example 3 and changed to correct code formatting in the same heading.
1 parent 3f8994d commit 0ec6607

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

reference/ps-modules/PSScriptAnalyzer/Invoke-Formatter.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ schema: 2.0.0
99
# Invoke-Formatter
1010

1111
## SYNOPSIS
12+
1213
Formats a script text based on the input settings or default settings.
1314

1415
## SYNTAX
1516

16-
```
17+
```powershell
1718
Invoke-Formatter [-ScriptDefinition] <string> [[-Settings] <Object>] [[-Range] <int[]>]
1819
[<CommonParameters>]
1920
```
@@ -76,7 +77,7 @@ function foo
7677
}
7778
```
7879

79-
### EXAMPLE 3 - Format the input script text using the settings defined a `.psd1` file
80+
### EXAMPLE 3 - Format the input script text using the settings defined in a `.psd1` file
8081

8182
```powershell
8283
Invoke-Formatter -ScriptDefinition $scriptDefinition -Settings /path/to/settings.psd1

0 commit comments

Comments
 (0)