diff options
author | ywang <ywang@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-08 22:27:20 +0000 |
---|---|---|
committer | ywang <ywang@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-08 22:27:20 +0000 |
commit | db608e6b5b00f54a678d7144170ccb5057782e14 (patch) | |
tree | d9633061545281358354db4f3338a69acfe94dd0 /Tools/CCode/Source/GenCapsuleHdr/GenCapsuleHdr.c | |
parent | 66d8c20686febc5f7ba580dd79377c93435b75ad (diff) | |
download | edk2-platforms-db608e6b5b00f54a678d7144170ccb5057782e14.tar.xz |
Minor changes and bug fixes implemented.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2196 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/CCode/Source/GenCapsuleHdr/GenCapsuleHdr.c')
-rw-r--r-- | Tools/CCode/Source/GenCapsuleHdr/GenCapsuleHdr.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/CCode/Source/GenCapsuleHdr/GenCapsuleHdr.c b/Tools/CCode/Source/GenCapsuleHdr/GenCapsuleHdr.c index 97482f2ceb..16b15c3d66 100644 --- a/Tools/CCode/Source/GenCapsuleHdr/GenCapsuleHdr.c +++ b/Tools/CCode/Source/GenCapsuleHdr/GenCapsuleHdr.c @@ -2379,6 +2379,11 @@ Returns: Version();
return STATUS_ERROR;
}
+
+ if (Argc == 1) {
+ Usage ();
+ return STATUS_ERROR;
+ }
//
// Process until no more options
|