]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: Fix Shell fail with redundant space following delay number.
authorQiu Shumin <shumin.qiu@intel.com>
Thu, 10 Sep 2015 03:08:56 +0000 (03:08 +0000)
committershenshushi <shenshushi@Edk2>
Thu, 10 Sep 2015 03:08:56 +0000 (03:08 +0000)
commit389824ffbe95c477ad605b56394798905ad13853
tree100299e8aad43603edbc10c0f00f6ee98c59ad4a
parent1cdc35c42ca35c6b66ea28109c3ad690ef622b82
ShellPkg: Fix Shell fail with redundant space following delay number.

When boot from Shell we can use '-delay [num]' as optional data. If blank space exist after '[num]' Shell will fail. This patch add error handling to avoid this failure.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18431 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Application/Shell/Shell.h
ShellPkg/Application/Shell/ShellParametersProtocol.c