diff --git a/SabreTools.CommandLine/CommandSet.cs b/SabreTools.CommandLine/CommandSet.cs index 3ec70a7..ad85548 100644 --- a/SabreTools.CommandLine/CommandSet.cs +++ b/SabreTools.CommandLine/CommandSet.cs @@ -163,7 +163,8 @@ namespace SabreTools.CommandLine /// /// Output top-level features only /// - public void OutputGenericHelp() + /// True if the detailed descriptions should be formatted and output, false otherwise + public void OutputGenericHelp(bool detailed = false) { // Start building the output list List output = []; @@ -176,7 +177,7 @@ namespace SabreTools.CommandLine output.Add("Available options:"); foreach (var input in _inputs.Values) { - var outputs = input.Format(pre: 2, midpoint: 30); + var outputs = input.Format(pre: 2, midpoint: 30, detailed); if (outputs != null) output.AddRange(outputs); } @@ -192,7 +193,8 @@ namespace SabreTools.CommandLine /// /// Output all features recursively /// - public void OutputAllHelp() + /// True if the detailed descriptions should be formatted and output, false otherwise + public void OutputAllHelp(bool detailed = false) { // Start building the output list List output = []; @@ -205,7 +207,7 @@ namespace SabreTools.CommandLine output.Add("Available options:"); foreach (var input in _inputs.Values) { - var outputs = input.FormatRecursive(pre: 2, midpoint: 30, detailed: true); + var outputs = input.FormatRecursive(pre: 2, midpoint: 30, detailed); if (outputs != null) output.AddRange(outputs); }