Skip to content

Commit 4777cec

Browse files
author
Kapil Borle
committed
Update invoke-formatter markdown help documentation
1 parent 82de2a7 commit 4777cec

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

docs/markdown/Invoke-Formatter.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Formats a script text based on the input settings or default settings.
1010
## SYNTAX
1111

1212
```
13-
Invoke-Formatter [-ScriptDefinition] <String> [-Settings <object>]
13+
Invoke-Formatter [-ScriptDefinition] <String> [-Settings <object>] [-Range <int[]>]
1414
```
1515

1616
## DESCRIPTION
@@ -97,3 +97,17 @@ Default value: CodeFormatting
9797
Accept pipeline input: False
9898
Accept wildcard characters: False
9999
```
100+
101+
### -Range
102+
The range within which formatting should take place. The parameter is an array of integers of length 4 such that the first, second, third and last elements correspond to the start line number, start column number, end line number and end column number. These numbers must be greater than 0.
103+
104+
```yaml
105+
Type: int[]
106+
Parameter Sets: (All)
107+
108+
Required: False
109+
Position: 3
110+
Default value:
111+
Accept pipeline input: False
112+
Accept wildcard characters: False
113+
```

0 commit comments

Comments
 (0)