Skip to content

HelpOptions

Lunar Doggo edited this page Apr 10, 2022 · 1 revision

What is it?

A HelpOption is similar to a groupless StartOption. The user provides HelpOptions like ordinary StartOptions, but rather than using the options to provide the application with values, they are used to display the help page for your application.

Implementation

public class HelpOption : IClonable<HelpOption>

Constructor

public HelpOption(string name, bool isShortName)

Properties

Signature Description
public bool IsShortName { get; } Gets whether the name of the HelpOption is a long or short option name
public string Name { get; } Gets the name of the HelpOption

Methods

Signature Description
public HelpOption Clone()` Creates an identical clone of the HelpOption