File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -169,6 +169,11 @@ public string Name
169169 /// </summary>
170170 public List < CommandOption > Options { get ; private set ; }
171171
172+ /// <summary>
173+ /// Whether a Pager should be used to display help text.
174+ /// </summary>
175+ public bool UsePagerForHelpText { get ; set ; } = true ;
176+
172177 /// <summary>
173178 /// All names by which the command can be referenced. This includes <see cref="Name"/> and an aliases added in <see cref="AddName"/>.
174179 /// </summary>
@@ -839,7 +844,7 @@ public virtual void ShowHint()
839844 /// <summary>
840845 /// Show full help.
841846 /// </summary>
842- public void ShowHelp ( ) => ShowHelp ( usePager : true ) ;
847+ public void ShowHelp ( ) => ShowHelp ( usePager : UsePagerForHelpText ) ;
843848
844849 /// <summary>
845850 /// Show full help.
You can’t perform that action at this time.
0 commit comments