summaryrefslogtreecommitdiff
path: root/Tools/CCode/Source/GenBsfImage
diff options
context:
space:
mode:
authorywang <ywang@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-03 22:09:16 +0000
committerywang <ywang@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-03 22:09:16 +0000
commit52be9a3b672c5592bccc6580c3bb0f509b278e22 (patch)
tree2fb08f4b280ea6aa59d6c2621c2e342d717fb27a /Tools/CCode/Source/GenBsfImage
parent67fca228ca421c164120f639e18cc0ecff6c1652 (diff)
downloadedk2-52be9a3b672c5592bccc6580c3bb0f509b278e22.zip
edk2-52be9a3b672c5592bccc6580c3bb0f509b278e22.tar.gz
edk2-52be9a3b672c5592bccc6580c3bb0f509b278e22.tar.bz2
Added or modified utility version and usage display.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2162 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools/CCode/Source/GenBsfImage')
-rw-r--r--Tools/CCode/Source/GenBsfImage/GenBsfImage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/CCode/Source/GenBsfImage/GenBsfImage.c b/Tools/CCode/Source/GenBsfImage/GenBsfImage.c
index 1c9dff9..bc3ae9f 100644
--- a/Tools/CCode/Source/GenBsfImage/GenBsfImage.c
+++ b/Tools/CCode/Source/GenBsfImage/GenBsfImage.c
@@ -2561,18 +2561,18 @@ Returns:
//
if (argc < 1) {
Usage();
- return -1;
+ return 1;
}
if ((strcmp(argv[1], "-h") == 0) || (strcmp(argv[1], "--help") == 0) ||
(strcmp(argv[1], "-?") == 0) || (strcmp(argv[1], "/?") == 0)) {
Usage();
- return -1;
+ return 1;
}
if ((strcmp(argv[1], "-V") == 0) || (strcmp(argv[1], "--version") == 0)) {
Version();
- return -1;
+ return 1;
}
if (argc != ONE_BSF_ARGS && argc != TWO_BSF_ARGS) {