From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g9t5009.houston.hpe.com (g9t5009.houston.hpe.com [15.241.48.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 387C481C95 for ; Thu, 8 Dec 2016 09:21:18 -0800 (PST) Received: from SHAHTA6.americas.hpqcorp.net (shahta6.americas.hpqcorp.net [16.100.127.81]) by g9t5009.houston.hpe.com (Postfix) with ESMTP id 45E2A6C; Thu, 8 Dec 2016 17:21:17 +0000 (UTC) From: Tapan Shah To: edk2-devel@lists.01.org Cc: jaben.carsey@intel.com, Tapan Shah Date: Thu, 8 Dec 2016 11:21:11 -0600 Message-Id: <1481217671-10440-1-git-send-email-tapandshah@hpe.com> X-Mailer: git-send-email 1.9.5.msysgit.0 Subject: [PATCH] ShellPkg: Add missing header line for SFO flag in 'cls' command X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Dec 2016 17:21:18 -0000 Adding a missing header line for 'cls -sfo' command Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Tapan Shah --- ShellPkg/Library/UefiShellLevel3CommandsLib/Cls.c | 1 + .../Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.uni | 1 + 2 files changed, 2 insertions(+) diff --git a/ShellPkg/Library/UefiShellLevel3CommandsLib/Cls.c b/ShellPkg/Library/UefiShellLevel3CommandsLib/Cls.c index de79b82..7e7d58d 100644 --- a/ShellPkg/Library/UefiShellLevel3CommandsLib/Cls.c +++ b/ShellPkg/Library/UefiShellLevel3CommandsLib/Cls.c @@ -82,6 +82,7 @@ ShellCommandRunCls ( } else { Background = (gST->ConOut->Mode->Attribute >> 4) & 0x7; Foreground = gST->ConOut->Mode->Attribute & 0x0F; + ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_GEN_SFO_HEADER), gShellLevel3HiiHandle, L"cls"); ShellPrintHiiEx ( -1, -1, diff --git a/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.uni b/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.uni index bbcb752..b027c67 100644 --- a/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.uni +++ b/ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.uni @@ -43,6 +43,7 @@ #string STR_GEN_DIR_NF #language en-US "%H%s%N: Directory not found - '%H%s%N'\r\n" #string STR_GEN_FILE_NF #language en-US "%H%s%N: File not found - '%H%s%N'\r\n" #string STR_GEN_IS_DIR #language en-US "%H%s%N: '%H%s%N' is a directory\r\n" +#string STR_GEN_SFO_HEADER #language en-US "ShellCommand,"%s"\r\n" #string STR_NO_SCRIPT #language en-US "The command '%H%s%N' is not allowed outside of a script\r\n" #string STR_TYP_ERROR #language en-US "%H%s%N: Operation was not successful on '%H%s%N'\r\n" -- 1.9.5.msysgit.0