diff options
author | ywang <ywang@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-02 20:17:36 +0000 |
---|---|---|
committer | ywang <ywang@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-02 20:17:36 +0000 |
commit | f091efb3cb895692a55c310c368943bb4c108ba1 (patch) | |
tree | 51e140f919c4a6c0f6172549038b6c4cbdd24087 /Tools/CCode/Source/GenDepex | |
parent | a3ab2a47d9ecb2295802726fd17f048c14519aab (diff) | |
download | edk2-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/GenDepex')
-rw-r--r-- | Tools/CCode/Source/GenDepex/GenDepex.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Tools/CCode/Source/GenDepex/GenDepex.c b/Tools/CCode/Source/GenDepex/GenDepex.c index b010102e26..e8481b518b 100644 --- a/Tools/CCode/Source/GenDepex/GenDepex.c +++ b/Tools/CCode/Source/GenDepex/GenDepex.c @@ -86,7 +86,7 @@ ParseDepex ( );
VOID
-GDVersion (
+Version (
VOID
)
/*++
@@ -115,7 +115,7 @@ Returns: }
VOID
-GDUsage (
+Usage (
VOID
)
/*++
@@ -134,9 +134,9 @@ Returns: --*/
{
- GDVersion();
+ Version();
printf (
- "\n Usage: %s -I InputFile -O OutputFile [-P <Optional Boundary for padding up>] \n",
+ "\nUsage: %s -I InputFile -O OutputFile [-P <Optional Boundary for padding up>] \n",
UTILITY_NAME
);
printf (" Where:\n");
@@ -857,24 +857,24 @@ Returns: Pad_Flag = FALSE;
if (argc < 1) {
- GDUsage();
+ Usage();
return -1;
}
if ((strcmp(argv[1], "-h") == 0) || (strcmp(argv[1], "--help") == 0) ||
(strcmp(argv[1], "-?") == 0) || (strcmp(argv[1], "/?") == 0)) {
- GDUsage();
+ Usage();
return 0;
}
if ((strcmp(argv[1], "-V") == 0) || (strcmp(argv[1], "--version") == 0)) {
- GDVersion();
+ Version();
return 0;
}
if (argc < 5) {
printf ("Not enough arguments\n");
- GDUsage();
+ Usage();
return EFI_INVALID_PARAMETER;
}
@@ -920,13 +920,13 @@ Returns: if (InFile == NULL) {
printf ("Can not open <INFILE> for reading.\n");
- GDUsage();
+ Usage();
return EFI_ABORTED;
}
if (OutFile == NULL) {
printf ("Can not open <OUTFILE> for writting.\n");
- GDUsage();
+ Usage();
return EFI_ABORTED;
}
|