summaryrefslogtreecommitdiffstats
path: root/BaseTools
diff options
context:
space:
mode:
authorKinney, Michael D <michael.d.kinney@intel.com>2018-06-08 20:43:44 -0700
committerKinney, Michael D <michael.d.kinney@intel.com>2018-06-14 15:43:06 -0700
commit1d79b72ee69f59c90fa8c49399c37a305eb3469a (patch)
tree1ee0539c5deb67e5f0a1e33a56f113c60a52aedb /BaseTools
parentc64688f36a8b32f6701231f144c3d0c37f1f4db0 (diff)
downloadedk2-1d79b72ee69f59c90fa8c49399c37a305eb3469a.tar.gz
edk2-1d79b72ee69f59c90fa8c49399c37a305eb3469a.tar.bz2
edk2-1d79b72ee69f59c90fa8c49399c37a305eb3469a.zip
BaseTools/BinToPcd: Fix typo in error messages
https://bugzilla.tianocore.org/show_bug.cgi?id=962 Change "PcdToBin" to "BinToPcd" Cc: Yanyan Sun <yanyan.sun@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
Diffstat (limited to 'BaseTools')
-rw-r--r--BaseTools/Scripts/BinToPcd.py8
1 files 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]'