diff options
author | ywang <ywang@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-03 22:09:16 +0000 |
---|---|---|
committer | ywang <ywang@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-01-03 22:09:16 +0000 |
commit | 52be9a3b672c5592bccc6580c3bb0f509b278e22 (patch) | |
tree | 2fb08f4b280ea6aa59d6c2621c2e342d717fb27a /Tools/CCode/Source/GenBsfImage/GenBsfImage.c | |
parent | 67fca228ca421c164120f639e18cc0ecff6c1652 (diff) | |
download | edk2-platforms-52be9a3b672c5592bccc6580c3bb0f509b278e22.tar.xz |
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/GenBsfImage.c')
-rw-r--r-- | Tools/CCode/Source/GenBsfImage/GenBsfImage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/CCode/Source/GenBsfImage/GenBsfImage.c b/Tools/CCode/Source/GenBsfImage/GenBsfImage.c index 1c9dff9258..bc3ae9f244 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) {
|