Table of Contents

CliHelpBuilder.WriteCommandOptionsSection Method

Definition

Namespace
DotMake.CommandLine
Assembly
DotMake.CommandLine.dll

Writes a help section describing a command's options. Similar to:

Options:
-o, --option-1 <option-1> Description for Option1 [default: DefaultForOption1]
-v, --version Show version information
-?, -h, --help Show help and usage information
public virtual bool WriteCommandOptionsSection(HelpContext helpContext)

Parameters

helpContext HelpContext

The help context.

Returns

bool

true if section was written, false if section was skipped.