ShellPkg/Application: Fix various typos
Fix various typos in comments and documentation. Cc: Ray Ni <ray.ni@intel.com> Cc: Zhichao Gao <zhichao.gao@intel.com> Signed-off-by: Antoine Coeur <coeur@gmx.fr> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Zhichao Gao <zhichao.gao@intel.com> Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com> Message-Id: <20200207010831.9046-68-philmd@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
ba562ca040
commit
6a5033ca3e
@@ -1081,7 +1081,7 @@ ProcessCommandLine(
|
||||
}
|
||||
}
|
||||
//
|
||||
// If an argumnent contains a space, then add double quotes before the argument
|
||||
// If an argument contains a space, then add double quotes before the argument
|
||||
//
|
||||
if (StrStr (gEfiShellParametersProtocol->Argv[LoopVar], L" ") != NULL) {
|
||||
StrnCatGrow(&ShellInfoObject.ShellInitSettings.FileOptions,
|
||||
@@ -1102,7 +1102,7 @@ ProcessCommandLine(
|
||||
return (EFI_OUT_OF_RESOURCES);
|
||||
}
|
||||
//
|
||||
// If an argumnent contains a space, then add double quotes after the argument
|
||||
// If an argument contains a space, then add double quotes after the argument
|
||||
//
|
||||
if (StrStr (gEfiShellParametersProtocol->Argv[LoopVar], L" ") != NULL) {
|
||||
StrnCatGrow(&ShellInfoObject.ShellInitSettings.FileOptions,
|
||||
@@ -1176,7 +1176,7 @@ LocateStartupScript (
|
||||
}
|
||||
|
||||
//
|
||||
// Try to find 'Startup.nsh' in the execution path defined by the envrionment variable PATH.
|
||||
// Try to find 'Startup.nsh' in the execution path defined by the environment variable PATH.
|
||||
//
|
||||
if ((StartupScriptPath == NULL) || EFI_ERROR (ShellIsFile (StartupScriptPath))) {
|
||||
SHELL_FREE_NON_NULL (StartupScriptPath);
|
||||
@@ -2251,7 +2251,7 @@ SetLastError(
|
||||
}
|
||||
|
||||
/**
|
||||
Converts the command line to it's post-processed form. this replaces variables and alias' per UEFI Shell spec.
|
||||
Converts the command line to its post-processed form. this replaces variables and alias' per UEFI Shell spec.
|
||||
|
||||
@param[in,out] CmdLine pointer to the command line to update
|
||||
|
||||
|
Reference in New Issue
Block a user