]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: Fix Shell fail when execute command in ShellProtocol.Execute().
authorYang Jadis <jadis.yang@intel.com>
Thu, 17 Sep 2015 01:42:59 +0000 (01:42 +0000)
committershenshushi <shenshushi@Edk2>
Thu, 17 Sep 2015 01:42:59 +0000 (01:42 +0000)
commitfb977e33950abd0e1ac50f17c90b05f0593fd4d6
treec3c18dd78aaf59b9b065272638a35b088dcb6da4
parent580d230d12e16651494ce622bee93591e7fe5491
ShellPkg: Fix Shell fail when execute command in ShellProtocol.Execute().

When execute a command with tailing blank spaces in ShellProtocol.Execute() Shell will fail.
This patch move the TrimSpaces operation into ParseCommandLineToArgs function to fix the problem.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yang Jadis <jadis.yang@intel.com>
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@18491 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Application/Shell/ShellParametersProtocol.c