Bug Description
The .EXAMPLE section of Uninstall-ServyService uses the wrong function name. It shows Uninstall-Service instead of Uninstall-ServyService.
Actual Behavior
Line 653:
.EXAMPLE
Uninstall-Service -Name "MyService"
Expected Behavior
.EXAMPLE
Uninstall-ServyService -Name "MyService"
Additional Inconsistencies in Documentation
While reviewing, I also noticed missing spaces between backtick-quoted command names and the word command in several .DESCRIPTION sections:
- Line 644:
Wraps the Servy CLI `uninstall`command → should be Wraps the Servy CLI `uninstall` command
- Line 681:
Wraps the Servy CLI `start`command → should be Wraps the Servy CLI `start` command
- Line 719:
Wraps the Servy CLI `stop`command → should be Wraps the Servy CLI `stop` command
- Line 757:
Wraps the Servy CLI `restart`command → should be Wraps the Servy CLI `restart` command
- Line 795:
Wraps the Servy CLI `status`command → should be Wraps the Servy CLI `status` command
- Line 835:
Wraps the Servy CLI `export`command → should be Wraps the Servy CLI `export` command
- Line 885:
Wraps the Servy CLI `import`command → should be Wraps the Servy CLI `import` command
Environment
- PowerShell module:
Servy.psm1
- Affects: Documentation / help output only, no functional impact
Bug Description
The
.EXAMPLEsection ofUninstall-ServyServiceuses the wrong function name. It showsUninstall-Serviceinstead ofUninstall-ServyService.Actual Behavior
Line 653:
Expected Behavior
Additional Inconsistencies in Documentation
While reviewing, I also noticed missing spaces between backtick-quoted command names and the word
commandin several.DESCRIPTIONsections:Wraps the Servy CLI `uninstall`command→ should beWraps the Servy CLI `uninstall` commandWraps the Servy CLI `start`command→ should beWraps the Servy CLI `start` commandWraps the Servy CLI `stop`command→ should beWraps the Servy CLI `stop` commandWraps the Servy CLI `restart`command→ should beWraps the Servy CLI `restart` commandWraps the Servy CLI `status`command→ should beWraps the Servy CLI `status` commandWraps the Servy CLI `export`command→ should beWraps the Servy CLI `export` commandWraps the Servy CLI `import`command→ should beWraps the Servy CLI `import` commandEnvironment
Servy.psm1