summaryrefslogtreecommitdiff
path: root/Tools/CCode/Source/Strip
diff options
context:
space:
mode:
authorywang <ywang@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-02 20:17:36 +0000
committerywang <ywang@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-02 20:17:36 +0000
commitf091efb3cb895692a55c310c368943bb4c108ba1 (patch)
tree51e140f919c4a6c0f6172549038b6c4cbdd24087 /Tools/CCode/Source/Strip
parenta3ab2a47d9ecb2295802726fd17f048c14519aab (diff)
downloadedk2-platforms-f091efb3cb895692a55c310c368943bb4c108ba1.tar.xz
Added or modified utility version and usage display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2159 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/CCode/Source/Strip')
-rw-r--r--Tools/CCode/Source/Strip/Strip.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/Tools/CCode/Source/Strip/Strip.c b/Tools/CCode/Source/Strip/Strip.c
index a89bcf9a8a..6215ca8fc4 100644
--- a/Tools/CCode/Source/Strip/Strip.c
+++ b/Tools/CCode/Source/Strip/Strip.c
@@ -31,7 +31,7 @@ Abstract:
void
-StripVersion(
+Version(
void
)
/*++
@@ -55,7 +55,7 @@ Returns:
}
void
-StripUsage(
+Usage(
void
)
/*++
@@ -74,8 +74,8 @@ Returns:
--*/
{
- StripVersion();
- printf ("\n Usage: %s InputFile OutputFile\n", UTILITY_NAME);
+ Version();
+ printf ("\nUsage: %s InputFile OutputFile\n", UTILITY_NAME);
}
int
@@ -109,23 +109,23 @@ Returns:
char *Ptrx;
if (argc < 1) {
- StripUsage();
+ Usage();
return -1;
}
if ((strcmp(argv[1], "-h") == 0) || (strcmp(argv[1], "--help") == 0) ||
(strcmp(argv[1], "-?") == 0) || (strcmp(argv[1], "/?") == 0)) {
- StripUsage();
+ Usage();
return 0;
}
if ((strcmp(argv[1], "-V") == 0) || (strcmp(argv[1], "--version") == 0)) {
- StripVersion();
+ Version();
return 0;
}
if (argc < 3) {
- StripUsage();
+ Usage();
return -1;
}