Per build spec,the default set of flags for -Y option include 'HASH',
so this patch to update the help info.

Cc: Liming Gao <liming....@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong....@intel.com>
---
 BaseTools/Source/Python/build/build.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/BaseTools/Source/Python/build/build.py 
b/BaseTools/Source/Python/build/build.py
index 6269bb9..eb80c1f 100644
--- a/BaseTools/Source/Python/build/build.py
+++ b/BaseTools/Source/Python/build/build.py
@@ -2229,11 +2229,11 @@ def MyOptionParser():
     Parser.add_option("-D", "--define", action="append", type="string", 
dest="Macros", help="Macro: \"Name [= Value]\".")
 
     Parser.add_option("-y", "--report-file", action="store", 
dest="ReportFile", help="Create/overwrite the report to the specified 
filename.")
     Parser.add_option("-Y", "--report-type", action="append", type="choice", 
choices=['PCD','LIBRARY','FLASH','DEPEX','BUILD_FLAGS','FIXED_ADDRESS','HASH','EXECUTION_ORDER'],
 dest="ReportType", default=[],
         help="Flags that control the type of build report to generate.  Must 
be one of: [PCD, LIBRARY, FLASH, DEPEX, BUILD_FLAGS, FIXED_ADDRESS, HASH, 
EXECUTION_ORDER].  "\
-             "To specify more than one flag, repeat this option on the command 
line and the default flag set is [PCD, LIBRARY, FLASH, DEPEX, BUILD_FLAGS, 
FIXED_ADDRESS]")
+             "To specify more than one flag, repeat this option on the command 
line and the default flag set is [PCD, LIBRARY, FLASH, DEPEX, HASH, 
BUILD_FLAGS, FIXED_ADDRESS]")
     Parser.add_option("-F", "--flag", action="store", type="string", 
dest="Flag",
         help="Specify the specific option to parse EDK UNI file. Must be one 
of: [-c, -s]. -c is for EDK framework UNI file, and -s is for EDK UEFI UNI 
file. "\
              "This option can also be specified by setting *_*_*_BUILD_FLAGS 
in [BuildOptions] section of platform DSC. If they are both specified, this 
value "\
              "will override the setting in [BuildOptions] section of platform 
DSC.")
     Parser.add_option("-N", "--no-cache", action="store_true", 
dest="DisableCache", default=False, help="Disable build cache mechanism")
-- 
2.6.1.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to