Skip to content

Commit 483b2e8

Browse files
author
Kapil Borle
committed
Fix invoke-formatter external documentation
Without setting the `Parameter Sets` property, the markdown to maml help generator (PlatyPS) does not create the `Syntax` field.
1 parent 5e57a48 commit 483b2e8

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

docs/markdown/Invoke-Formatter.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ schema: 2.0.0
44
---
55

66
# Invoke-Formatter
7-
87
## SYNOPSIS
98
Formats a script text based on the input settings or default settings.
109

@@ -61,7 +60,7 @@ This command formats the input script text using the settings defined in the `$s
6160

6261
### -------------------------- EXAMPLE 3 --------------------------
6362
```
64-
S> Invoke-Formatter -ScriptDefinition $scriptDefinition -Settings /path/to/settings.psd1
63+
Invoke-Formatter -ScriptDefinition $scriptDefinition -Settings /path/to/settings.psd1
6564
```
6665

6766
This command formats the input script text using the settings defined in the `settings.psd1` file.
@@ -75,7 +74,7 @@ The script text to be formated.
7574

7675
```yaml
7776
Type: String
78-
Parameter Sets:
77+
Parameter Sets: (All)
7978
Aliases:
8079

8180
Required: True
@@ -90,11 +89,11 @@ A settings hashtable or a path to a PowerShell data file (.psd1) file that conta
9089
9190
```yaml
9291
Type: Object
93-
Parameter Sets:
92+
Parameter Sets: (All)
9493

9594
Required: False
9695
Position: 2
97-
Default value:
96+
Default value: CodeFormatting
9897
Accept pipeline input: False
9998
Accept wildcard characters: False
10099
```

0 commit comments

Comments
 (0)