ShellPkg: Fix typos

begining->beginning
dirve->drive
duplicat->duplicate
fuly->fully
Funciton->Function
Functino->Function
optioanl->optional
poitners->pointers
rountine->routine
sucessful->successful
sucessfully->successfully

Signed-off-by: Page Chen <paiching_chen@apple.com>
Cc: Zhichao Gao <zhichao.gao@intel.com>
Cc: Andrew Fish <afish@apple.com>
Message-Id: <829d2bed2a848229d719d7ae7b64ef1a47782720.1699557986.git.paiching_chen@apple.com>
Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
This commit is contained in:
Page Chen
2023-11-09 11:27:09 -08:00
committed by mergify[bot]
parent eccdab611c
commit fe2abc9b74
34 changed files with 104 additions and 104 deletions

View File

@ -14,8 +14,8 @@
/**
Function will replace drive identifier with CWD.
If FullPath begining with ':' is invalid path, then ASSERT.
If FullPath not include dirve identifier , then do nothing.
If FullPath beginning with ':' is invalid path, then ASSERT.
If FullPath not include drive identifier , then do nothing.
If FullPath likes "fs0:\xx" or "fs0:/xx" , then do nothing.
If FullPath likes "fs0:xxx" or "fs0:", the drive replaced by CWD.

View File

@ -427,7 +427,7 @@ FileTimeToLocalTime (
@param[in] ListUnfiltered TRUE to request listing the directory contents
unfiltered.
@retval SHELL_SUCCESS the printing was sucessful.
@retval SHELL_SUCCESS the printing was successful.
**/
SHELL_STATUS
PrintLsOutput (

View File

@ -1354,7 +1354,7 @@ ShellCommandRunMap (
SName,
TRUE
);
} // we were sucessful so do an output
} // we were successful so do an output
}
} // got a valid map target
} // got 2 variables

View File

@ -216,7 +216,7 @@ IsValidMove (
that there is only a single possible target (IE we cant have wildcards that
have 2 possible destination).
if the result is sucessful the caller must free *DestPathPointer.
if the result is successful the caller must free *DestPathPointer.
@param[in] DestParameter The original path to the destination.
@param[in, out] DestPathPointer A pointer to the callee allocated final path.
@ -227,7 +227,7 @@ IsValidMove (
@retval SHELL_INVALID_PARAMETER The DestParameter could not be resolved to a location.
@retval SHELL_INVALID_PARAMETER The DestParameter could be resolved to more than 1 location.
@retval SHELL_INVALID_PARAMETER Cwd is required and is NULL.
@retval SHELL_SUCCESS The operation was sucessful.
@retval SHELL_SUCCESS The operation was successful.
**/
SHELL_STATUS
GetDestinationLocation (
@ -850,7 +850,7 @@ ShellCommandRunMv (
} else {
//
// ValidateAndMoveFiles will report errors to the screen itself
// Only change ShellStatus if it's sucessful
// Only change ShellStatus if it's successful
//
if (ShellStatus == SHELL_SUCCESS) {
ShellStatus = ValidateAndMoveFiles (FileList, &Response, ShellCommandLineGetRawValue (Package, ParamCount));

View File

@ -14,7 +14,7 @@
If you spawn a pre 2.0 shell from the Shell 2.0 the environment variable may not carry through.
@retval STATUS_SUCCESS the printout was sucessful
@retval STATUS_SUCCESS the printout was successful
@return any return code from GetNextVariableName except EFI_NOT_FOUND
**/
SHELL_STATUS

View File

@ -53,7 +53,7 @@ ShellCommandGetManFileNameLevel2 (
@param ImageHandle the image handle of the process
@param SystemTable the EFI System Table pointer
@retval EFI_SUCCESS the shell command handlers were installed sucessfully
@retval EFI_SUCCESS the shell command handlers were installed successfully
@retval EFI_UNSUPPORTED the shell level required was not found.
**/
EFI_STATUS
@ -148,10 +148,10 @@ ShellLevel2CommandsLibDestructor (
}
/**
returns a fully qualified directory (contains a map drive at the begining)
returns a fully qualified directory (contains a map drive at the beginning)
path from a unknown directory path.
If Path is already fully qualified this will return a duplicat otherwise this
If Path is already fully qualified this will return a duplicate otherwise this
will use get the current directory and use that to build the fully qualified
version.
@ -161,7 +161,7 @@ ShellLevel2CommandsLibDestructor (
@retval NULL A memory allocation failed
@retval NULL A fully qualified path could not be discovered.
@retval other An allocated pointer to a fuly qualified path.
@retval other An allocated pointer to a fully qualified path.
**/
CHAR16 *
GetFullyQualifiedPath (

View File

@ -241,10 +241,10 @@ ShellCommandRunMv (
);
/**
returns a fully qualified directory (contains a map drive at the begining)
returns a fully qualified directory (contains a map drive at the beginning)
path from a unknown directory path.
If Path is already fully qualified this will return a duplicat otherwise this
If Path is already fully qualified this will return a duplicate otherwise this
will use get the current directory and use that to build the fully qualified
version.
@ -254,7 +254,7 @@ ShellCommandRunMv (
@retval NULL A memory allocation failed
@retval NULL a fully qualified path could not be discovered.
@retval other pointer to a fuly qualified path.
@retval other pointer to a fully qualified path.
**/
CHAR16 *
GetFullyQualifiedPath (

View File

@ -18,7 +18,7 @@
@param[in] Delete TRUE to delete the volume label. FALSE otherwise.
@param[in] Name New name to set to the volume label.
@retval SHELL_SUCCESS The operation was sucessful.
@retval SHELL_SUCCESS The operation was successful.
**/
SHELL_STATUS
HandleVol (