From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.1591.1662452991743859873 for ; Tue, 06 Sep 2022 01:29:51 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pierre.gondois@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A630D176C; Tue, 6 Sep 2022 01:29:57 -0700 (PDT) Received: from cam-smtp0.cambridge.arm.com (pierre123.nice.arm.com [10.34.100.114]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 9CA073F73D; Tue, 6 Sep 2022 01:29:50 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io Cc: Pierre Gondois , Ray Ni , Zhichao Gao Subject: [PATCH v2 13/17] ShellPkg: Remove duplicated words Date: Tue, 6 Sep 2022 10:29:08 +0200 Message-Id: <20220906082912.81795-14-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220906082912.81795-1-Pierre.Gondois@arm.com> References: <20220906082912.81795-1-Pierre.Gondois@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Pierre Gondois In an effort to clean the documentation of the above package, remove duplicated words. Cc: Ray Ni Cc: Zhichao Gao Signed-off-by: Pierre Gondois Reviewed-by: Zhichao Gao --- ShellPkg/Include/Library/ShellCommandLib.h | 2 +- ShellPkg/Include/Library/ShellLib.h | 4 ++-- ShellPkg/Include/Protocol/EfiShellEnvironment2.h | 2 +- .../Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c | 2 +- ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c | 2 +- .../UefiShellDriver1CommandsLib.uni | 2 +- ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c | 2 +- ShellPkg/Library/UefiShellLevel2CommandsLib/Map.c | 2 +- ShellPkg/Library/UefiShellLib/UefiShellLib.c | 4 ++-- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ShellPkg/Include/Library/ShellCommandLib.h b/ShellPkg/Includ= e/Library/ShellCommandLib.h index 7a97b203f1ff..de7db40a1525 100644 --- a/ShellPkg/Include/Library/ShellCommandLib.h +++ b/ShellPkg/Include/Library/ShellCommandLib.h @@ -87,7 +87,7 @@ SHELL_STATUS If the ShellSupportLevel is greater than the value of PcdShellSupportLevel, then return RETURN_UNSUPPORTED. =20 - Registers the the handlers specified by GetHelpInfoHandler and Command= Handler + Registers the handlers specified by GetHelpInfoHandler and CommandHand= ler with the command specified by CommandString. If the command named by CommandString has already been registered, then return RETURN_ALREADY_STARTED. diff --git a/ShellPkg/Include/Library/ShellLib.h b/ShellPkg/Include/Libra= ry/ShellLib.h index 10cf7f4fefe0..cd0c3bccc89f 100644 --- a/ShellPkg/Include/Library/ShellLib.h +++ b/ShellPkg/Include/Library/ShellLib.h @@ -1354,9 +1354,9 @@ ShellFileHandleReturnLine ( @param[in, out] Buffer The pointer to buffer to read into. @param[in, out] Size The pointer to number of bytes in Buffe= r. @param[in] Truncate If the buffer is large enough, this has= no effect. - If the buffer is is too small and Trunc= ate is TRUE, + If the buffer is too small and Truncate= is TRUE, the line will be truncated. - If the buffer is is too small and Trunc= ate is FALSE, + If the buffer is too small and Truncate= is FALSE, then no read will occur. =20 @param[in, out] Ascii Boolean value for indicating whether th= e file is diff --git a/ShellPkg/Include/Protocol/EfiShellEnvironment2.h b/ShellPkg/= Include/Protocol/EfiShellEnvironment2.h index 8b7c86dc24fc..59714c1b589b 100644 --- a/ShellPkg/Include/Protocol/EfiShellEnvironment2.h +++ b/ShellPkg/Include/Protocol/EfiShellEnvironment2.h @@ -541,7 +541,7 @@ EFI_STATUS /** This is an internal shell function to enumerate the handle database. =20 - This function resets the the handle database so that NEXT_HANDLE and S= KIP_HANDLE + This function resets the handle database so that NEXT_HANDLE and SKIP_= HANDLE will start from EnumIndex on the next call. =20 This must be called after INIT_HANDLE_ENUMERATOR and before CLOSE_HAND= LE_ENUMERATOR. diff --git a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgComman= dLib.c b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib= .c index 4a19794b9fe0..0f33d52a67cc 100644 --- a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c +++ b/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.c @@ -1252,7 +1252,7 @@ BcfgAddOpt ( } =20 // - // Shouldn't be possible to have have both. Neither is ok though. + // Shouldn't be possible to have both. Neither is ok though. // ASSERT (FileName =3D=3D NULL || Data =3D=3D NULL); =20 diff --git a/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c b= /ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c index 36cf46fb2c38..75fa81f7e448 100644 --- a/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c +++ b/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c @@ -119,7 +119,7 @@ CommandInit ( } =20 // - // Find the best matching matching language from the supported lan= guages + // Find the best matching language from the supported languages // of Unicode Collation2 protocol. // BestLanguage =3D GetBestLanguage ( diff --git a/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver= 1CommandsLib.uni b/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShell= Driver1CommandsLib.uni index fc4986c8c62f..ba4dbc4e8b48 100644 --- a/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1Comman= dsLib.uni +++ b/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1Comman= dsLib.uni @@ -171,7 +171,7 @@ " 1 - Manufacturing Defaults.\r\n" " 2 - Safe Defaults.\r\n" " 4000-FFFF - Custom Defaults.\r\n" -" DriverHandle - Specifies the the handle of the driver to configure.\r= \n" +" DriverHandle - Specifies the handle of the driver to configure.\r\n" " DeviceHandle - Specifies the handle of a device that the DriverHandle= is managing.\r\n" " ChildHandle - Specifies the handle of a device that is a child of th= e DeviceHandle. \r\n" ".SH DESCRIPTION\r\n" diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c b/ShellPk= g/Library/UefiShellLevel2CommandsLib/Load.c index f92cfa502df1..f88c9e547943 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c @@ -9,7 +9,7 @@ =20 #include "UefiShellLevel2CommandsLib.h" =20 -// This function was from from the BdsLib implementation in +// This function was from the BdsLib implementation in // IntelFrameworkModulePkg\Library\GenericBdsLib\BdsConnect.c // function name: BdsLibConnectAllEfi =20 diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Map.c b/ShellPkg= /Library/UefiShellLevel2CommandsLib/Map.c index f3c888edd48c..3b06246d3e95 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Map.c +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Map.c @@ -122,7 +122,7 @@ SearchList ( =20 /** Determine what type of device is represented and return it's string. = The - string is in allocated memory and must be callee freed. The HII is is= listed below. + string is in allocated memory and must be callee freed. The HII is li= sted below. The actual string cannot be determined. =20 @param[in] DevicePath The device to analyze. diff --git a/ShellPkg/Library/UefiShellLib/UefiShellLib.c b/ShellPkg/Libr= ary/UefiShellLib/UefiShellLib.c index a72767bd869f..b2819f964a77 100644 --- a/ShellPkg/Library/UefiShellLib/UefiShellLib.c +++ b/ShellPkg/Library/UefiShellLib/UefiShellLib.c @@ -4338,9 +4338,9 @@ ShellFileHandleReturnLine ( to hold the next line of the file (as a= UCS2 string, even if it is an ASCII file). @param[in] Truncate If the buffer is large enough, this has= no effect. - If the buffer is is too small and Trunc= ate is TRUE, + If the buffer is too small and Truncate= is TRUE, the line will be truncated. - If the buffer is is too small and Trunc= ate is FALSE, + If the buffer is too small and Truncate= is FALSE, then no read will occur. =20 @param[in, out] Ascii Boolean value for indicating whether th= e file is --=20 2.25.1