CommandLineArgument.IsHidden Property

Gets or sets a value that indicates whether the argument is hidden from the usage help.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
C#
public bool IsHidden { get; }

Property Value

Boolean
true if the argument is hidden from the usage help; otherwise, false. The default value is false.

Remarks

A hidden argument will not be included in the usage syntax or the argument description list, even if DescriptionListFilterMode.All is used. It does not affect whether the argument can be used.

This property is always false for positional or required arguments, which may not be hidden.

See Also