From 1d79b72ee69f59c90fa8c49399c37a305eb3469a Mon Sep 17 00:00:00 2001 From: "Kinney, Michael D" Date: Fri, 8 Jun 2018 20:43:44 -0700 Subject: [PATCH] BaseTools/BinToPcd: Fix typo in error messages https://bugzilla.tianocore.org/show_bug.cgi?id=962 Change "PcdToBin" to "BinToPcd" Cc: Yanyan Sun Cc: Yonghong Zhu Cc: Liming Gao Signed-off-by: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.1 Reviewed-by: Yonghong Zhu --- BaseTools/Scripts/BinToPcd.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/BaseTools/Scripts/BinToPcd.py b/BaseTools/Scripts/BinToPcd.py index f2485a27fa..014aad9800 100644 --- a/BaseTools/Scripts/BinToPcd.py +++ b/BaseTools/Scripts/BinToPcd.py @@ -135,7 +135,7 @@ if __name__ == '__main__': # Pcd = PcdValue if args.Verbose: - print 'PcdToBin: Convert binary file to PCD Value' + print 'BinToPcd: Convert binary file to PCD Value' elif args.PcdType is None: # # If --type is neither VPD nor HII, then use PCD statement syntax that is @@ -155,7 +155,7 @@ if __name__ == '__main__': Pcd = ' %s|%s|VOID*|%d' % (args.PcdName, PcdValue, args.MaxSize) if args.Verbose: - print 'PcdToBin: Convert binary file to PCD statement compatible with PCD sections:' + print 'BinToPcd: Convert binary file to PCD statement compatible with PCD sections:' print ' [PcdsFixedAtBuild]' print ' [PcdsPatchableInModule]' print ' [PcdsDynamicDefault]' @@ -182,7 +182,7 @@ if __name__ == '__main__': # Pcd = ' %s|%d|%d|%s' % (args.PcdName, args.Offset, args.MaxSize, PcdValue) if args.Verbose: - print 'PcdToBin: Convert binary file to PCD statement compatible with PCD sections' + print 'BinToPcd: Convert binary file to PCD statement compatible with PCD sections' print ' [PcdsDynamicVpd]' print ' [PcdsDynamicExVpd]' elif args.PcdType == 'HII': @@ -199,7 +199,7 @@ if __name__ == '__main__': args.Offset = 0 Pcd = ' %s|L"%s"|%s|%d|%s' % (args.PcdName, args.VariableName, args.VariableGuid, args.Offset, PcdValue) if args.Verbose: - print 'PcdToBin: Convert binary file to PCD statement compatible with PCD sections' + print 'BinToPcd: Convert binary file to PCD statement compatible with PCD sections' print ' [PcdsDynamicHii]' print ' [PcdsDynamicExHii]' -- 2.39.2