From fe90f4836a37fc7210aa9fd351b8ca786ee9bf23 Mon Sep 17 00:00:00 2001 From: Hess Chen Date: Wed, 8 Jul 2015 05:43:22 +0000 Subject: BaseTools/Upt: Add a BOM check for UNI file and fix some help message error Add a BOM check for UNI file and fix some help message error Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Hess Chen Reviewed-by: YangX Li git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17876 6f19259b-4bc3-4df7-8a09-765794883524 --- BaseTools/Source/Python/UPT/Logger/StringTable.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'BaseTools/Source/Python/UPT/Logger') diff --git a/BaseTools/Source/Python/UPT/Logger/StringTable.py b/BaseTools/Source/Python/UPT/Logger/StringTable.py index 5cc7b1496f..f15ac7f0bc 100644 --- a/BaseTools/Source/Python/UPT/Logger/StringTable.py +++ b/BaseTools/Source/Python/UPT/Logger/StringTable.py @@ -46,8 +46,11 @@ MSG_COPYRIGHT = _("Copyright (c) 2011 - 2015 Intel Corporation All Rights Reserv MSG_VERSION_COPYRIGHT = _("\n %s\n %s" % (MSG_VERSION, MSG_COPYRIGHT)) MSG_USAGE = _("%s [options]\n%s" % ("UPT", MSG_VERSION_COPYRIGHT)) MSG_DESCRIPTION = _("The UEFIUPT is used to create, " + \ - "install or remove a UEFI Distribution Package.") - + "install or remove a UEFI Distribution Package. " + \ + "If WORKSPACE environment variable is present, " + \ + "then UPT will install packages to the location specified by WORKSPACE, " + \ + "otherwise UPT will install packages to the current directory. " + \ + "Option -n will override this default installation location") # # INF Parser related strings. @@ -593,6 +596,7 @@ _("The string entry order in UNI file should be ,