changeset 121:cba7ed3f06cc

minor fix git-svn-id: https://luan-java.googlecode.com/svn/trunk@122 21e917c8-12df-6dd8-5cb6-c86387c605b9
author fschmidt@gmail.com <fschmidt@gmail.com@21e917c8-12df-6dd8-5cb6-c86387c605b9>
date Mon, 02 Jun 2014 05:49:17 +0000
parents 8d7730a5e3b4
children d00f41edbbd6
files src/luan/lib/init.luan
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
diff -r 8d7730a5e3b4 -r cba7ed3f06cc src/luan/lib/init.luan
--- a/src/luan/lib/init.luan	Mon Jun 02 04:43:45 2014 +0000
+++ b/src/luan/lib/init.luan	Mon Jun 02 05:49:17 2014 +0000
@@ -93,7 +93,7 @@
 		end
 	end
 	if showVersion then print(_VERSION) end
-	if i < #args then
+	if i <= #args then
 		local file = args[i]
 		_G.arg = {}
 		for j,v in ipairs(args) do