audk/ShellPkg/Application/Shell
Zhichao Gao 95bb203861 ShellPkg/ShellProtocol: Return error code while fail parsing cmd-line
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2395

Errors happened in the arguments parsing is not a critical error.
And it would miss the error status code in the release version of shell.
So replace the ASSERT with returning error status code while fail
parsing command-line in UpdateArgcArgv.

Cc: Ray Ni <ray.ni@intel.com>
Cc: Linson Augustine <linson.augustine@intel.com>
Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com>
Reviewed-by: Ray Ni <ray.ni@intel.com>
Signed-off-by: Zhichao Gao <zhichao.gao@intel.com>
2019-12-19 05:11:00 +00:00
..
ConsoleLogger.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
ConsoleLogger.h ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
ConsoleWrappers.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
ConsoleWrappers.h ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
FileHandleInternal.h ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
FileHandleWrappers.c ShellPkg/Shell/FileHandleWrappers.c: Add check for MemFile->Buffer 2019-11-06 13:26:21 +08:00
FileHandleWrappers.h ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
Shell.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
Shell.h ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
Shell.inf ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
Shell.uni ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
ShellEnvVar.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
ShellEnvVar.h ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
ShellManParser.c ShellPkg: Unload image on EFI_SECURITY_VIOLATION 2019-09-25 10:03:58 +08:00
ShellManParser.h ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
ShellParametersProtocol.c ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
ShellParametersProtocol.h ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00
ShellProtocol.c ShellPkg/ShellProtocol: Return error code while fail parsing cmd-line 2019-12-19 05:11:00 +00:00
ShellProtocol.h ShellPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:25 -07:00