- printf ("Usage: " UTILITY_NAME " {-t time-date} {-e} {-r} [APPLICATION|BS_DRIVER|RT_DRIVER|SAL_RT_DRIVER|COMBINED_PEIM_DRIVER|SECURITY_CORE|PEI_CORE|PE32_PEIM|RELOCATABLE_PEIM] peimage [outimage]\n");\r
- printf (" -t: Add Time Stamp for output image\n");\r
- printf (" -e: Not clear ExceptionTable for output image\n");\r
- printf (" -r: Not strip zero pending of .reloc for output image\n");\r
+ int Index;\r
+ const char *Str[] = {\r
+ UTILITY_NAME" "UTILITY_VERSION" - Intel Firmware Image Utility",\r
+ " Copyright (C), 2004 - 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
+ "",\r
+ "Usage:",\r
+ " "UTILITY_NAME" [OPTION]... FWTYPE SOURCE [DEST]",\r
+ "Description:",\r
+ " Converts a pe32/pe32+ SOURCE to DEST with FWTYPE image type.",\r
+ "Options:",\r
+ " FWTYPE Can be one of APPLICATION, BS_DRIVER, RT_DRIVER, SAL_RT_DRIVER,",\r
+ " COMBINED_PEIM_DRIVER, SECURITY_CORE, PEI_CORE, PE32_PEIM and",\r
+ " RELOCATABLE_PEIM",\r
+ " -t time-date Add Time Stamp for output image",\r
+ " -e Not clear ExceptionTable for output image",\r
+ " -r Not strip zero pending of .reloc for output image",\r
+ NULL\r
+ };\r
+\r
+ for (Index = 0; Str[Index] != NULL; Index++) {\r
+ fprintf (stdout, "%s\n", Str[Index]);\r
+ } \r