Skip to content

Commit 18bab20

Browse files
authored
Make InputObject an optional parameter (#566)
1 parent 893436a commit 18bab20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Public/Commands/TracePipelineObjectCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public sealed class TracePipelineObjectCommand : PSCmdlet
2828
/// <summary>
2929
/// The object from pipeline.
3030
/// </summary>
31-
[Parameter(Mandatory = true, Position = 0, ValueFromPipeline = true)]
31+
[Parameter(Position = 0, ValueFromPipeline = true)]
3232
public object InputObject { get; set; }
3333

3434
private static PowerShell s_pwsh;

0 commit comments

Comments
 (0)