]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/CCode/Source/EfiCompress/EfiCompressMain.c
Minor word change.
[mirror_edk2.git] / Tools / CCode / Source / EfiCompress / EfiCompressMain.c
index b07f62990d10a6996662ec73e8cea2291f01e9f0..db27a33a5bf12241750c61c3507919c06774c0d4 100644 (file)
@@ -34,7 +34,7 @@ Abstract:
 #define UTILITY_MINOR_VERSION 1\r
 \r
 void \r
-ECVersion(\r
+Version(\r
   void\r
   )\r
 /*++\r
@@ -53,12 +53,12 @@ Returns:
   \r
 --*/ \r
 {\r
-  printf ("%s v%d.%d -EDK Efi Compress Utility\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION);\r
+  printf ("%s v%d.%d -Efi File Compress Utility\n", UTILITY_NAME, UTILITY_MAJOR_VERSION, UTILITY_MINOR_VERSION);\r
   printf ("Copyright (c) 2005-2006 Intel Corporation. All rights reserved.\n");\r
 }\r
 \r
 void \r
-ECUsage(\r
+Usage(\r
   void\r
   )\r
 /*++\r
@@ -77,8 +77,8 @@ Returns:
   \r
 --*/ \r
 {\r
-  ECVersion();\r
-  printf ("\n  Usage: %s Inputfile Outputfile\n", UTILITY_NAME);\r
+  Version();\r
+  printf ("\nUsage: %s Inputfile Outputfile\n", UTILITY_NAME);\r
 }\r
 \r
 \r
@@ -121,24 +121,24 @@ Returns:
   SrcBuffer             = DstBuffer = NULL;\r
   infile                = outfile = NULL;\r
 \r
-  if (argc < 1) {\r
-    ECUsage();\r
+  if (argc == 1) {\r
+    Usage();\r
     goto Done;\r
   }\r
   \r
   if ((strcmp(argv[1], "-h") == 0) || (strcmp(argv[1], "--help") == 0) ||\r
       (strcmp(argv[1], "-?") == 0) || (strcmp(argv[1], "/?") == 0)) {\r
-    ECUsage();\r
+    Usage();\r
     goto Done;\r
   }\r
   \r
   if ((strcmp(argv[1], "-V") == 0) || (strcmp(argv[1], "--version") == 0)) {\r
-    ECVersion();\r
+    Version();\r
     goto Done;\r
   }\r
   \r
   if (argc != 3) {\r
-    ECUsage();\r
+    Usage();\r
     goto Done;\r
   }\r
 \r