[DISKPART] Do not print command descriptions twice
authorEric Kohl <eric.kohl@reactos.org>
Sat, 21 May 2022 14:59:45 +0000 (16:59 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Sat, 21 May 2022 14:59:45 +0000 (16:59 +0200)
base/system/diskpart/help.c

index bd7bb49..d271844 100644 (file)
@@ -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;
+            }
         }
     }