From a466082c5ed5e819f97f82fdc943ecb2ba07484e Mon Sep 17 00:00:00 2001 From: Aditya Patwardhan Date: Thu, 26 Jun 2025 14:32:56 -0700 Subject: [PATCH] Update the parameter description in markdown when comment based help is updated --- src/Common/MergeUtils.cs | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/Common/MergeUtils.cs b/src/Common/MergeUtils.cs index 7e69af93..004afb64 100644 --- a/src/Common/MergeUtils.cs +++ b/src/Common/MergeUtils.cs @@ -186,7 +186,7 @@ internal static bool TryGetMergedParameters(ListfromHelp, List 0 ? matchingCommandParameter.First() : null; var foundParams = fromHelp.Where(x => string.Compare(x.Name, pName) == 0); var helpParam = foundParams.Count() > 0 ? foundParams.First() : null; - + // This should never happen, but if it does, we'll log it. if (helpParam is null && cmdParam is null) { @@ -237,9 +237,25 @@ internal static bool TryGetMergedParameters(ListfromHelp, List