]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Sample/Tools/Source/GenAprioriFile/GenAprioriFile.c
Sync all bug fixes between EDK1.04 and EDK1.06 into EdkCompatibilityPkg.
[mirror_edk2.git] / EdkCompatibilityPkg / Sample / Tools / Source / GenAprioriFile / GenAprioriFile.c
index e346a1e4c879c7421df5519e47034f36d99a1692..81ffcb78dfa03df8aa97ea26374c37d1bd9d8783 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
- Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
  This program and the accompanying materials                          \r
  are licensed and made available under the terms and conditions of the BSD License         \r
  which accompanies this distribution.  The full text of the license may be found at        \r
@@ -39,7 +39,8 @@ Abstract:
 // #define STATUS_WARNING        1\r
 // #define STATUS_ERROR          2\r
 //\r
-#define UTILITY_NAME  "GenAprioriFile"\r
+#define UTILITY_NAME    "GenAprioriFile"\r
+#define UTILITY_VERSION "v1.0"\r
 //\r
 // Here's all our globals.\r
 //\r
@@ -447,18 +448,26 @@ Returns:
   \r
 --*/\r
 {\r
-  int               Index;\r
-  static const char *Str[] = {\r
-    UTILITY_NAME " -- create an Apriori file consumable by the DXE dispatcher",\r
-    "  Usage: "UTILITY_NAME " [Options]",\r
-    "  Options include:",\r
-    "    -h or -?         for this help information",\r
-    "    -f AprioriFile   parse the GUID'ed files in AprioriFile (required)",\r
-    "    -o OutputFile    write output to OutputFile (required)",\r
-    "    -i               for intelligent re-creation of OutputFile",\r
-    "    -null            to terminate the output file with a NULL GUID",\r
-    "    -v               verbose option",\r
+  int        Index;\r
+  const char *Str[] = {\r
+    UTILITY_NAME" "UTILITY_VERSION" - Intel Generate Apriori File Utility",\r
+    "  Copyright (C), 2006 - 2008 Intel Corporation",\r
+    \r
+#if ( defined(UTILITY_BUILD) && defined(UTILITY_VENDOR) )\r
+    "  Built from "UTILITY_BUILD", project of "UTILITY_VENDOR,\r
+#endif\r
     "",\r
+    "Usage:",\r
+    "  "UTILITY_NAME" [OPTION]...",\r
+    "Description:",\r
+    "  Generate an Apriori file consumable by the DXE or PEI dispatcher.",\r
+    "Options:",\r
+    "  -h or -?         for this help information",\r
+    "  -f AprioriFile   parse the GUID'ed files in AprioriFile (required)",\r
+    "  -o OutputFile    write output to OutputFile (required)",\r
+    "  -i               for intelligent re-creation of OutputFile",\r
+    "  -null            to terminate the output file with a NULL GUID",\r
+    "  -v               verbose option",\r
     NULL\r
   };\r
   for (Index = 0; Str[Index] != NULL; Index++) {\r