diff options
| author | Zhichao Gao <zhichao.gao@intel.com> | 2019-11-29 11:51:45 +0300 |
|---|---|---|
| committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2019-12-19 08:11:00 +0300 |
| commit | 95bb203861c5e19b7b7d5d9318e16d82108f2134 (patch) | |
| tree | 294b050a5539002f1b201d972fa58b1abdf2f850 /BaseTools/Source/Python/CommonDataClass/CommonClass.py | |
| parent | c7a0aca0ed0e9b51efe0c437ff77b30cf1457f8a (diff) | |
| download | edk2-95bb203861c5e19b7b7d5d9318e16d82108f2134.tar.xz | |
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>
Diffstat (limited to 'BaseTools/Source/Python/CommonDataClass/CommonClass.py')
0 files changed, 0 insertions, 0 deletions
