https://git.reactos.org/?p=reactos.git;a=commitdiff;h=434cf85d9696acea77fd45e9aa4aedbba4be08af

commit 434cf85d9696acea77fd45e9aa4aedbba4be08af
Author:     Eric Kohl <[email protected]>
AuthorDate: Sat May 21 16:59:45 2022 +0200
Commit:     Eric Kohl <[email protected]>
CommitDate: Sat May 21 16:59:45 2022 +0200

    [DISKPART] Do not print command descriptions twice
---
 base/system/diskpart/help.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/base/system/diskpart/help.c b/base/system/diskpart/help.c
index bd7bb490a42..d271844d0cf 100644
--- a/base/system/diskpart/help.c
+++ b/base/system/diskpart/help.c
@@ -88,7 +88,10 @@ HelpCommand(
                 (wcsicmp(pCommand->cmd2, cmdptr->cmd2) == 0) &&
                 (wcsicmp(pCommand->cmd3, cmdptr->cmd3) == 0) &&
                 (cmdptr->help_detail != IDS_NONE))
+            {
                 ConResPuts(StdOut, cmdptr->help_detail);
+                bSubCommands = TRUE;
+            }
         }
     }
 

Reply via email to