Return error code zero if --version option is specified to match other system tools
This commit is contained in:
parent
08c9a93e2b
commit
87762818f3
@ -82,7 +82,7 @@
|
|||||||
|
|
||||||
if (_OPTIONS["version"]) then
|
if (_OPTIONS["version"]) then
|
||||||
printf(versionhelp, _PREMAKE_VERSION)
|
printf(versionhelp, _PREMAKE_VERSION)
|
||||||
return 1
|
return 0
|
||||||
end
|
end
|
||||||
|
|
||||||
if (_OPTIONS["help"]) then
|
if (_OPTIONS["help"]) then
|
||||||
|
Loading…
Reference in New Issue
Block a user