Bug Description
The .EXAMPLE section of Show-ServyHelp only shows basic usage without the -Command parameter, which is arguably the most useful way to call this function.
Actual Behavior
Lines 269-270:
.EXAMPLE
Show-ServyHelp
# Displays help for the Servy CLI.
The function has a -Command parameter with a ValidateSet of eight possible values, but none are shown in the examples.
Suggested Fix
Add a second example demonstrating the -Command parameter:
.EXAMPLE
Show-ServyHelp
# Displays general help for the Servy CLI.
.EXAMPLE
Show-ServyHelp -Command "install"
# Displays help for the install command.
Environment
- PowerShell module:
Servy.psm1
- Affects:
Show-ServyHelp function documentation (lines 253-286)
Bug Description
The
.EXAMPLEsection ofShow-ServyHelponly shows basic usage without the-Commandparameter, which is arguably the most useful way to call this function.Actual Behavior
Lines 269-270:
The function has a
-Commandparameter with aValidateSetof eight possible values, but none are shown in the examples.Suggested Fix
Add a second example demonstrating the
-Commandparameter:Environment
Servy.psm1Show-ServyHelpfunction documentation (lines 253-286)