From: Kinney, Michael D Date: Sat, 9 Jun 2018 03:43:44 +0000 (-0700) Subject: BaseTools/BinToPcd: Fix typo in error messages X-Git-Tag: edk2-stable201903~1589 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=1d79b72ee69f59c90fa8c49399c37a305eb3469a;hp=c64688f36a8b32f6701231f144c3d0c37f1f4db0 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 --- 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]'