X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkCompatibilityPkg%2FSample%2FTools%2FSource%2FGenAprioriFile%2FGenAprioriFile.c;fp=EdkCompatibilityPkg%2FSample%2FTools%2FSource%2FGenAprioriFile%2FGenAprioriFile.c;h=81ffcb78dfa03df8aa97ea26374c37d1bd9d8783;hp=e346a1e4c879c7421df5519e47034f36d99a1692;hb=3e99020dbf0a159e34b84e7ae9125f2e368d5390;hpb=68bb5ce77e51cf35791e46f2202e36da97e5e6be diff --git a/EdkCompatibilityPkg/Sample/Tools/Source/GenAprioriFile/GenAprioriFile.c b/EdkCompatibilityPkg/Sample/Tools/Source/GenAprioriFile/GenAprioriFile.c index e346a1e4c8..81ffcb78df 100644 --- a/EdkCompatibilityPkg/Sample/Tools/Source/GenAprioriFile/GenAprioriFile.c +++ b/EdkCompatibilityPkg/Sample/Tools/Source/GenAprioriFile/GenAprioriFile.c @@ -1,6 +1,6 @@ /*++ - Copyright (c) 2006, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
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 @@ -39,7 +39,8 @@ Abstract: // #define STATUS_WARNING 1 // #define STATUS_ERROR 2 // -#define UTILITY_NAME "GenAprioriFile" +#define UTILITY_NAME "GenAprioriFile" +#define UTILITY_VERSION "v1.0" // // Here's all our globals. // @@ -447,18 +448,26 @@ Returns: --*/ { - int Index; - static const char *Str[] = { - UTILITY_NAME " -- create an Apriori file consumable by the DXE dispatcher", - " Usage: "UTILITY_NAME " [Options]", - " Options include:", - " -h or -? for this help information", - " -f AprioriFile parse the GUID'ed files in AprioriFile (required)", - " -o OutputFile write output to OutputFile (required)", - " -i for intelligent re-creation of OutputFile", - " -null to terminate the output file with a NULL GUID", - " -v verbose option", + int Index; + const char *Str[] = { + UTILITY_NAME" "UTILITY_VERSION" - Intel Generate Apriori File Utility", + " Copyright (C), 2006 - 2008 Intel Corporation", + +#if ( defined(UTILITY_BUILD) && defined(UTILITY_VENDOR) ) + " Built from "UTILITY_BUILD", project of "UTILITY_VENDOR, +#endif "", + "Usage:", + " "UTILITY_NAME" [OPTION]...", + "Description:", + " Generate an Apriori file consumable by the DXE or PEI dispatcher.", + "Options:", + " -h or -? for this help information", + " -f AprioriFile parse the GUID'ed files in AprioriFile (required)", + " -o OutputFile write output to OutputFile (required)", + " -i for intelligent re-creation of OutputFile", + " -null to terminate the output file with a NULL GUID", + " -v verbose option", NULL }; for (Index = 0; Str[Index] != NULL; Index++) {