From 87762818f379ddd97aaa7f922e3feb3c6182d6c0 Mon Sep 17 00:00:00 2001 From: Jason Perkins Date: Sun, 22 Feb 2015 10:18:07 -0500 Subject: [PATCH] Return error code zero if --version option is specified to match other system tools --- src/_premake_main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_premake_main.lua b/src/_premake_main.lua index d8a17404..fec30ec2 100644 --- a/src/_premake_main.lua +++ b/src/_premake_main.lua @@ -82,7 +82,7 @@ if (_OPTIONS["version"]) then printf(versionhelp, _PREMAKE_VERSION) - return 1 + return 0 end if (_OPTIONS["help"]) then