-
Notifications
You must be signed in to change notification settings - Fork 190
(doc) fix Uninstall-ChocolateyPath param #1169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
(doc) fix Uninstall-ChocolateyPath param #1169
Conversation
b4a456e
to
0e293c2
Compare
### -Confirm | ||
Prompts you for confirmation before running the cmdlet. | ||
|
||
```yaml | ||
Type: SwitchParameter | ||
Parameter Sets: (All) | ||
Aliases: cf | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
||
### -WhatIf | ||
Shows what would happen if the cmdlet runs. The cmdlet is not run. | ||
|
||
```yaml | ||
Type: SwitchParameter | ||
Parameter Sets: (All) | ||
Aliases: wi | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why these lines were changed, these should probably be taken out if we're getting odd whitespace changes in here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i created #1171 as a fix. It was applied because of the .editorconfig
@@ -32,7 +32,7 @@ Ensures that the given path is not present in the given type of PATH environment | |||
|
|||
### Example 1 | |||
```powershell | |||
PS C:\> Uninstall-ChocolateyPath -PathToUninstall "$($env:SystemDrive)\tools\gittfs" | |||
PS C:\> Uninstall-ChocolateyPath -Path "$($env:SystemDrive)\tools\gittfs" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't disagree with this but I think we should probably just have two example sets, one for the canonical parameter name, and one for the alias. Cause it's not wrong, it's not just not most correct atm.
Description Of Changes
discovert a wrong parameter at
Uninstall-ChocolateyPath -PathToUninstall
Motivation and Context
fixed it to
Uninstall-ChocolateyPath -Path
Testing
Change Types Made
Change Checklist
Related Issue
Fixes #