Minor changes and bug fixes implemented.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2196 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -239,6 +239,11 @@ main (
|
||||
OutputFileName = NULL;
|
||||
|
||||
SetUtilityName (UTILITY_NAME);
|
||||
|
||||
if (argc == 1) {
|
||||
Usage ();
|
||||
return -1;
|
||||
}
|
||||
|
||||
if ((strcmp(argv[1], "-h") == 0) || (strcmp(argv[1], "--help") == 0) ||
|
||||
(strcmp(argv[1], "-?") == 0) || (strcmp(argv[1], "/?") == 0)) {
|
||||
@@ -250,11 +255,6 @@ main (
|
||||
Version();
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (argc == 1) {
|
||||
Usage ();
|
||||
return -1;
|
||||
}
|
||||
|
||||
BufferSize = 1024 * 1024 * 16;
|
||||
FileBuffer = (UINT8 *) malloc (BufferSize * sizeof (UINT8));
|
||||
|
Reference in New Issue
Block a user