diff --git a/src/CommandLineUtils/CommandLineApplication.cs b/src/CommandLineUtils/CommandLineApplication.cs index 932c97f5..5df273de 100644 --- a/src/CommandLineUtils/CommandLineApplication.cs +++ b/src/CommandLineUtils/CommandLineApplication.cs @@ -169,6 +169,11 @@ public string Name /// public List Options { get; private set; } + /// + /// Whether a Pager should be used to display help text. + /// + public bool UsePagerForHelpText { get; set; } = true; + /// /// All names by which the command can be referenced. This includes and an aliases added in . /// @@ -839,7 +844,7 @@ public virtual void ShowHint() /// /// Show full help. /// - public void ShowHelp() => ShowHelp(usePager: true); + public void ShowHelp() => ShowHelp(usePager: UsePagerForHelpText); /// /// Show full help.