diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-11-26 01:54:49 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-11-26 01:54:49 +0000 |
commit | 3e99020dbf0a159e34b84e7ae9125f2e368d5390 (patch) | |
tree | 0eb6339318f7bf7da1b679b8009cf267b2234566 /EdkCompatibilityPkg/Sample/Tools/Source/GuidChk | |
parent | 68bb5ce77e51cf35791e46f2202e36da97e5e6be (diff) | |
download | edk2-platforms-3e99020dbf0a159e34b84e7ae9125f2e368d5390.tar.xz |
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11094 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Sample/Tools/Source/GuidChk')
-rw-r--r-- | EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/GuidChk.c | 48 |
1 files changed, 29 insertions, 19 deletions
diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/GuidChk.c b/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/GuidChk.c index 7b9aa041c5..f1084a3cd9 100644 --- a/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/GuidChk.c +++ b/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/GuidChk.c @@ -1,6 +1,6 @@ /*++
-Copyright (c) 2004 - 2007, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -38,6 +38,9 @@ Abstract: #define MAX_PATH 1024
#endif
+#define UTILITY_NAME "GuidChk"
+#define UTILITY_VERSION "v1.0"
+
typedef struct {
INT8 *Extension;
INT8 ExtensionCode;
@@ -593,25 +596,32 @@ Usage ( VOID
)
{
- int Index;
- char *Str[] = {
- "GuidChk - scan files for duplicate GUID or signature definitions",
- "",
- "Usage: GuidChk {options}\n",
- " Options: ",
- " -d dirname exclude searching of a directory",
- " -f filename exclude searching of a file",
- " -e extension exclude searching of files by extension",
- " -p print all GUIDS found",
- " -g check for duplicate guids",
- " -s check for duplicate signatures",
- " -x print guid+defined symbol name",
- " -b outfile write internal GUID+basename list to outfile",
- " -u dirname exclude searching all subdirectories of a directory",
- " -h -? print this help text",
- " ",
- " Example: GuidChk -g -u build -d fv -f make.inf -e .pkg",
+ int Index;
+ const char *Str[] = {
+ UTILITY_NAME" "UTILITY_VERSION" - Intel GUID Check Utility",
+ " Copyright (C), 2004 - 2008 Intel Corporation",
+
+#if ( defined(UTILITY_BUILD) && defined(UTILITY_VENDOR) )
+ " Built from "UTILITY_BUILD", project of "UTILITY_VENDOR,
+#endif
"",
+ "Usage:",
+ " "UTILITY_NAME" [OPTION]...",
+ "Description:",
+ " Scan files for duplicate GUID or signature definitions.",
+ "Options:",
+ " -d dirname exclude searching of a directory",
+ " -f filename exclude searching of a file",
+ " -e extension exclude searching of files by extension",
+ " -p print all GUIDS found",
+ " -g check for duplicate guids",
+ " -s check for duplicate signatures",
+ " -x print guid+defined symbol name",
+ " -b outfile write internal GUID+basename list to outfile",
+ " -u dirname exclude searching all subdirectories of a directory",
+ " -h -? print this help text",
+ "Example Usage:",
+ " GuidChk -g -u build -d fv -f make.inf -e .pkg",
NULL
};
for (Index = 0; Str[Index] != NULL; Index++) {
|