]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools ConvertMasmToNasm: Fix exception when no arguments are given
authorJordan Justen <jordan.l.justen@intel.com>
Thu, 3 Mar 2016 08:44:38 +0000 (00:44 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Thu, 10 Mar 2016 18:01:39 +0000 (10:01 -0800)
commitbc6a342535a7ab62b263c81bc201706955251d94
tree0ad499b5e2884ee7010b6475c289ec7c7b0699b5
parent5369c2bb735a741b53f92928463cb425c59eb60b
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>
BaseTools/Scripts/ConvertMasmToNasm.py