File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
src/System.CommandLine.Subsystems Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,14 @@ namespace System.CommandLine;
18
18
public class HelpSubsystem ( IAnnotationProvider ? annotationProvider = null )
19
19
: CliSubsystem ( HelpAnnotations . Prefix , SubsystemKind . Help , annotationProvider )
20
20
{
21
+ /// <summary>
22
+ /// Gets the help option, which allows the user to customize
23
+ /// </summary>
24
+ /// <remarks>
25
+ /// By design, the user can modify the help option but not replace it. This allows us to
26
+ /// do the fastest possible lookup of whether help was called, and we aren't clear why
27
+ /// the option would need to be replaced
28
+ /// </remarks>
21
29
public CliOption < bool > HelpOption { get ; } = new CliOption < bool > ( "--help" , [ "-h" ] )
22
30
{
23
31
// TODO: Why don't we accept bool like any other bool option?
You can’t perform that action at this time.
0 commit comments