From cceb4ebd0839a923739b1f4075f7ec1bf8591eeb Mon Sep 17 00:00:00 2001 From: Bruce Cran Date: Wed, 8 Jul 2015 01:54:46 +0000 Subject: ShellPkg: Fix typo of 'determines' in ShellPkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Bruce Cran Reviewed-by: Qiu Shumin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17868 6f19259b-4bc3-4df7-8a09-765794883524 --- ShellPkg/Include/Protocol/EfiShellEnvironment2.h | 6 +++--- ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c | 4 ++-- ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c | 2 +- ShellPkg/Library/UefiShellLib/UefiShellLib.c | 2 +- ShellPkg/ShellPkg.dec | 8 ++++---- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ShellPkg/Include/Protocol/EfiShellEnvironment2.h b/ShellPkg/Include/Protocol/EfiShellEnvironment2.h index 05ec69d..1aa1b7e 100644 --- a/ShellPkg/Include/Protocol/EfiShellEnvironment2.h +++ b/ShellPkg/Include/Protocol/EfiShellEnvironment2.h @@ -320,7 +320,7 @@ EFI_SHELL_INTERFACE* ); /** - This function determins whether a script file is currently being processed. + This function determines whether a script file is currently being processed. A script file (.nsh file) can contain a series of commands and this is useful to know for some shell commands whether they are being run manually or as part of a @@ -420,7 +420,7 @@ UINT32 ); /** - This function determins if the shell application should break. + This function determines if the shell application should break. This is used to inform a shell application that a break condition has been initiated. Long loops should check this to prevent delays to the break. @@ -455,7 +455,7 @@ VOID ); /** - This function determins if the caller is running under the root shell. + This function determines if the caller is running under the root shell. @retval TRUE The caller is running under the root shell. @retval FALSE The caller is not running under the root shell. diff --git a/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c b/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c index b6d5d99..6388669 100644 --- a/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c +++ b/ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c @@ -892,7 +892,7 @@ ShellCommandIsOnAliasList( } /** - Function to determine current state of ECHO. Echo determins if lines from scripts + Function to determine current state of ECHO. Echo determines if lines from scripts and ECHO commands are enabled. @retval TRUE Echo is currently enabled @@ -908,7 +908,7 @@ ShellCommandGetEchoState( } /** - Function to set current state of ECHO. Echo determins if lines from scripts + Function to set current state of ECHO. Echo determines if lines from scripts and ECHO commands are enabled. If State is TRUE, Echo will be enabled. diff --git a/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c b/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c index a53a88c..ed9940d 100644 --- a/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c +++ b/ShellPkg/Library/UefiShellLevel2CommandsLib/Rm.c @@ -188,7 +188,7 @@ CascadeDelete( } /** - Determins if a Node is a valid delete target. Will prevent deleting the root directory. + Determines if a Node is a valid delete target. Will prevent deleting the root directory. @param[in] List RESERVED. Not used. @param[in] Node The node to analyze. diff --git a/ShellPkg/Library/UefiShellLib/UefiShellLib.c b/ShellPkg/Library/UefiShellLib/UefiShellLib.c index 0bf034f..0c99e23 100644 --- a/ShellPkg/Library/UefiShellLib/UefiShellLib.c +++ b/ShellPkg/Library/UefiShellLib/UefiShellLib.c @@ -2521,7 +2521,7 @@ ShellCommandLineGetCount( } /** - Determins if a parameter is duplicated. + Determines if a parameter is duplicated. If Param is not NULL then it will point to a callee allocated string buffer with the parameter value if a duplicate is found. diff --git a/ShellPkg/ShellPkg.dec b/ShellPkg/ShellPkg.dec index b2f2669..2b1d128 100644 --- a/ShellPkg/ShellPkg.dec +++ b/ShellPkg/ShellPkg.dec @@ -98,7 +98,7 @@ ## This is the character count for allocation for consistent mappings gEfiShellPkgTokenSpaceGuid.PcdShellMapNameLength|50|UINT8|0x00000009 - ## This determins how many bytes are read out of files at a time for file operations (type, copy, etc...) + ## This determines how many bytes are read out of files at a time for file operations (type, copy, etc...) gEfiShellPkgTokenSpaceGuid.PcdShellFileOperationSize|1000|UINT32|0x0000000A [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] @@ -106,13 +106,13 @@ # If TRUE the shell will produce EFI_SHELL_ENVIRONMENT2 and EFI_SHELL_INTERFACE gEfiShellPkgTokenSpaceGuid.PcdShellSupportOldProtocols|FALSE|BOOLEAN|0x00000002 - ## this flag determins whether Page Break (-b) defaults to on or off in the shell + ## this flag determines whether Page Break (-b) defaults to on or off in the shell gEfiShellPkgTokenSpaceGuid.PcdShellPageBreakDefault|FALSE|BOOLEAN|0x00000006 - ## this flag determins whether insert mode for typing is default (FALSE means typeover) + ## this flag determines whether insert mode for typing is default (FALSE means typeover) gEfiShellPkgTokenSpaceGuid.PcdShellInsertModeDefault|TRUE|BOOLEAN|0x00000007 - ## this flag determins the default number of screens kept for history log. + ## this flag determines the default number of screens kept for history log. # the spec defines 3 as the minimum gEfiShellPkgTokenSpaceGuid.PcdShellScreenLogCount|3|UINT8|0x00000008 -- cgit v1.1