From: Pierre Gondois <pierre.gond...@arm.com>

In an effort to clean the documentation of the above
package, remove duplicated words.

Cc: Ray Ni <ray...@intel.com>
Cc: Zhichao Gao <zhichao....@intel.com>
Signed-off-by: Pierre Gondois <pierre.gond...@arm.com>
---
 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/Include/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.
 
-  Registers the the handlers specified by GetHelpInfoHandler and CommandHandler
+  Registers the handlers specified by GetHelpInfoHandler and CommandHandler
   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/Library/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 Buffer.
   @param[in]       Truncate      If the buffer is large enough, this has no 
effect.
-                                 If the buffer is is too small and Truncate 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 Truncate is 
FALSE,
+                                 If the buffer is too small and Truncate is 
FALSE,
                                  then no read will occur.
 
   @param[in, out]  Ascii         Boolean value for indicating whether the 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.
 
-  This function resets the the handle database so that NEXT_HANDLE and 
SKIP_HANDLE
+  This function resets the handle database so that NEXT_HANDLE and SKIP_HANDLE
   will start from EnumIndex on the next call.
 
   This must be called after INIT_HANDLE_ENUMERATOR and before 
CLOSE_HANDLE_ENUMERATOR.
diff --git a/ShellPkg/Library/UefiShellBcfgCommandLib/UefiShellBcfgCommandLib.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 (
   }
 
   //
-  // 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 == NULL || Data == NULL);
 
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 (
       }
 
       //
-      // Find the best matching matching language from the supported languages
+      // Find the best matching language from the supported languages
       // of Unicode Collation2 protocol.
       //
       BestLanguage = GetBestLanguage (
diff --git 
a/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.uni 
b/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.uni
index fc4986c8c62f..ba4dbc4e8b48 100644
--- 
a/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.uni
+++ 
b/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.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 the 
DeviceHandle. \r\n"
 ".SH DESCRIPTION\r\n"
diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c 
b/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c
index f92cfa502df1..f88c9e547943 100644
--- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c
+++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Load.c
@@ -9,7 +9,7 @@
 
 #include "UefiShellLevel2CommandsLib.h"
 
-// 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
 
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 (
 
 /**
   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 listed 
below.
   The actual string cannot be determined.
 
   @param[in] DevicePath     The device to analyze.
diff --git a/ShellPkg/Library/UefiShellLib/UefiShellLib.c 
b/ShellPkg/Library/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 Truncate 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 Truncate is 
FALSE,
+                                 If the buffer is too small and Truncate is 
FALSE,
                                  then no read will occur.
 
   @param[in, out]  Ascii         Boolean value for indicating whether the file 
is
-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#92701): https://edk2.groups.io/g/devel/message/92701
Mute This Topic: https://groups.io/mt/93207405/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to