summaryrefslogtreecommitdiff
path: root/Tools/CCode/Source/ModifyInf/ModifyInf.c
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/ModifyInf/ModifyInf.c
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/ModifyInf/ModifyInf.c')
-rwxr-xr-xTools/CCode/Source/ModifyInf/ModifyInf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Tools/CCode/Source/ModifyInf/ModifyInf.c b/Tools/CCode/Source/ModifyInf/ModifyInf.c
index 5e3d17ddf4..1b1a9e29a1 100755
--- a/Tools/CCode/Source/ModifyInf/ModifyInf.c
+++ b/Tools/CCode/Source/ModifyInf/ModifyInf.c
@@ -271,7 +271,7 @@ Returns:
}
void
-MIUsage(
+Usage(
void
)
/*++
@@ -291,7 +291,7 @@ Returns:
--*/
{
MIVersion();
- printf ("\n Usage: %s InputFile OutputFile Pattern_String [Pattern_String бн]\n\
+ printf ("\nUsage: %s InputFile OutputFile Pattern_String [Pattern_String бн]\n\
Where: \n\
Pattern_String is of the format (note that the section name must be \n\
enclosed within square brackets):\n\
@@ -334,13 +334,13 @@ Returns:
FILE *fpout;
if (argc < 1) {
- MIUsage();
+ Usage();
return -1;
}
if ((strcmp(argv[1], "-h") == 0) || (strcmp(argv[1], "--help") == 0) ||
(strcmp(argv[1], "-?") == 0) || (strcmp(argv[1], "/?") == 0)) {
- MIUsage();
+ Usage();
return 0;
}
@@ -350,7 +350,7 @@ Returns:
}
if (argc < 3) {
- MIUsage();
+ Usage();
return -1;
}