diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2016-03-03 00:44:38 -0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2016-03-15 10:04:58 +0800 |
commit | c61debc1cc23f25839549ce49ed8e9f1f201edca (patch) | |
tree | 8821f64b92313f761596bd964752d658befc2550 /BaseTools/Source/Python/UPT/Logger | |
parent | 2da7e7994917ea74d919090da781cd7697e7eb62 (diff) | |
download | edk2-platforms-c61debc1cc23f25839549ce49ed8e9f1f201edca.tar.xz |
BaseTools ConvertMasmToNasm: Fix exception when no arguments are given
Convert to use the argparse library rather than optparse.
As part of the conversion, the script will now give an error message
if no arguments are given. Previously the script would give an
exception when no arguments were given.
Fixes: https://github.com/tianocore/edk2/issues/65
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
(cherry picked from commit bc6a342535a7ab62b263c81bc201706955251d94)
Diffstat (limited to 'BaseTools/Source/Python/UPT/Logger')
0 files changed, 0 insertions, 0 deletions