]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Application/Shell/Shell.c
ShellPkg/Application: Fix various typos
[mirror_edk2.git] / ShellPkg / Application / Shell / Shell.c
index d16adae0ea307677ee33ea1b8ef4687565d33c39..a5563070972ed1aaba020f99ef5f26751b9ae53e 100644 (file)
@@ -1081,7 +1081,7 @@ ProcessCommandLine(
           }\r
         }\r
         //\r
-        // If an argumnent contains a space, then add double quotes before the argument\r
+        // If an argument contains a space, then add double quotes before the argument\r
         //\r
         if (StrStr (gEfiShellParametersProtocol->Argv[LoopVar], L" ") != NULL) {\r
           StrnCatGrow(&ShellInfoObject.ShellInitSettings.FileOptions,\r
@@ -1102,7 +1102,7 @@ ProcessCommandLine(
           return (EFI_OUT_OF_RESOURCES);\r
         }\r
         //\r
-        // If an argumnent contains a space, then add double quotes after the argument\r
+        // If an argument contains a space, then add double quotes after the argument\r
         //\r
         if (StrStr (gEfiShellParametersProtocol->Argv[LoopVar], L" ") != NULL) {\r
           StrnCatGrow(&ShellInfoObject.ShellInitSettings.FileOptions,\r
@@ -1176,7 +1176,7 @@ LocateStartupScript (
   }\r
 \r
   //\r
-  // Try to find 'Startup.nsh' in the execution path defined by the envrionment variable PATH.\r
+  // Try to find 'Startup.nsh' in the execution path defined by the environment variable PATH.\r
   //\r
   if ((StartupScriptPath == NULL) || EFI_ERROR (ShellIsFile (StartupScriptPath))) {\r
     SHELL_FREE_NON_NULL (StartupScriptPath);\r
@@ -2251,7 +2251,7 @@ SetLastError(
 }\r
 \r
 /**\r
-  Converts the command line to it's post-processed form.  this replaces variables and alias' per UEFI Shell spec.\r
+  Converts the command line to its post-processed form.  this replaces variables and alias' per UEFI Shell spec.\r
 \r
   @param[in,out] CmdLine        pointer to the command line to update\r
 \r