Skip to content

Commit a2bf56c

Browse files
Remove unnecessary HelpUri parameter from New-MarkdownModuleFile and Update-MarkdownModuleFile cmdlets
1 parent 33b90b4 commit a2bf56c

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/Command/NewMarkdownModuleFileCommand.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ public sealed class NewMarkdownModuleFileCommand : PSCmdlet
3333
[Parameter()]
3434
public SwitchParameter Force { get; set; }
3535

36-
[Parameter]
37-
[ValidateNotNullOrEmpty]
38-
public string HelpUri { get; set; } = string.Empty;
39-
4036
[Parameter]
4137
[ValidateNotNullOrEmpty]
4238
public string HelpInfoUri { get; set; } = string.Empty;
@@ -131,7 +127,7 @@ protected override void EndProcessing()
131127
foreach(var cmdHelp in group)
132128
{
133129
string description = Constants.FillInDescription;
134-
if (! string.IsNullOrEmpty(cmdHelp.Synopsis))
130+
if (! string.IsNullOrEmpty(cmdHelp.Synopsis))
135131
{
136132
description = cmdHelp.Synopsis;
137133
}

src/Command/UpdateMarkdownModuleFile.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ public sealed class UpdateMarkdownModuleFileCommand : PSCmdlet
3939
[Parameter()]
4040
public SwitchParameter Force { get; set; }
4141

42-
[Parameter]
43-
[ValidateNotNullOrEmpty]
44-
public string HelpUri { get; set; } = string.Empty;
4542

4643
[Parameter]
4744
[ValidateNotNullOrEmpty]

0 commit comments

Comments
 (0)