clix.lua

changeset 28
c2998f70dfd4
parent 23
c5f04bdc7c64
child 32
cda6a004ff79
--- a/clix.lua	Tue Jan 12 02:17:38 2010 +0000
+++ b/clix.lua	Tue Jan 12 02:17:58 2010 +0000
@@ -19,7 +19,8 @@
 	for module in pairs(package.preload) do
 		if module:match("^clix%.") then
 			local m = require(module);
-			m{ "--short-help" };
+			io.write("\t", module:gsub("^clix%.", ""), ": ");
+			m({ short_help = true }, {});
 		end
 	end
 	return 0;

mercurial