diff --git a/src/_premake_main.lua b/src/_premake_main.lua index 9f2156e1..0d656f2d 100644 --- a/src/_premake_main.lua +++ b/src/_premake_main.lua @@ -1,7 +1,7 @@ -- -- _premake_main.lua -- Script-side entry point for the main program logic. --- Copyright (c) 2002-2012 Jason Perkins and the Premake project +-- Copyright (c) 2002-2013 Jason Perkins and the Premake project -- @@ -39,7 +39,7 @@ -- The "next-gen" actions have now replaced their deprecated counterparts. -- Provide a warning for a little while before I remove them entirely. if _ACTION and _ACTION:endswith("ng") then - print(string.format("** Warning: '%s' has been deprecated; use '%s' instead", _ACTION, _ACTION:sub(1, -3))) + io.stderr:write(string.format("** Warning: '%s' has been deprecated; use '%s' instead\n", _ACTION, _ACTION:sub(1, -3))) end -- Set up the environment for the chosen action early, so side-effects