ShellPkg: Document ParseCommandLineToArgs returns EFI_INVALID_PARAMETER

ShellParametersProtocol::ParseCommandLineToArgs() can return
a EFI_INVALID_PARAMETER value. Document it.

Reviewed-by: Zhichao Gao <zhichao.gao@intel.com>
Signed-off-by: Philippe Mathieu-Daude <philmd@redhat.com>
This commit is contained in:
Philippe Mathieu-Daud? 2019-12-03 01:40:50 +08:00 committed by mergify[bot]
parent 66360134f8
commit ddb7050c68
2 changed files with 2 additions and 0 deletions

View File

@ -185,6 +185,7 @@ DEBUG_CODE_END();
@param[in, out] Argc pointer to number of strings in Argv array
@return EFI_SUCCESS the operation was successful
@return EFI_INVALID_PARAMETER some parameters are invalid
@return EFI_OUT_OF_RESOURCES a memory allocation failed.
**/
EFI_STATUS

View File

@ -167,6 +167,7 @@ RestoreStdInStdOutStdErr (
@param[in, out] Argc pointer to number of strings in Argv array
@return EFI_SUCCESS the operation was successful
@return EFI_INVALID_PARAMETER some parameters are invalid
@return EFI_OUT_OF_RESOURCES a memory allocation failed.
**/
EFI_STATUS