From 434cf85d9696acea77fd45e9aa4aedbba4be08af Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sat, 21 May 2022 16:59:45 +0200 Subject: [PATCH] [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; + } } }