Edit

Share via


HelpOption Class

Definition

public ref class HelpOption sealed : System::CommandLine::Option<bool>
public sealed class HelpOption : System.CommandLine.Option<bool>
type HelpOption = class
    inherit Option<bool>
Public NotInheritable Class HelpOption
Inherits Option(Of Boolean)
Inheritance

Constructors

HelpOption()
HelpOption(String, String[])

Properties

Action
Aliases (Inherited from Option)
AllowMultipleArgumentsPerToken

Gets a value that indicates whether multiple argument tokens are allowed for each option identifier token.

(Inherited from Option)
CompletionSources (Inherited from Option)
CustomParser (Inherited from Option<T>)
DefaultValueFactory (Inherited from Option<T>)
Description

Gets or sets the description of the symbol.

(Inherited from Symbol)
HasDefaultValue (Inherited from Option)
HelpName (Inherited from Option)
Hidden (Inherited from Symbol)
Parents

Gets the parent symbols.

(Inherited from Symbol)
Recursive (Inherited from Option)
Required (Inherited from Option)
Validators (Inherited from Option)
ValueType (Inherited from Option<T>)

Methods

AcceptLegalFileNamesOnly() (Inherited from Option<T>)
AcceptLegalFilePathsOnly() (Inherited from Option<T>)
AcceptOnlyFromAmong(String[]) (Inherited from Option<T>)
GetCompletions(CompletionContext)

Gets the suggested values for command line completion.

(Inherited from Option)
GetDefaultValue() (Inherited from Option)
ToString()

Returns a string that represents the current object.

(Inherited from Symbol)

Extension Methods

AcceptExistingOnly<T>(Option<T>)

Applies to