# HG changeset patch # User Matthew Wild # Date 1263262678 0 # Node ID c2998f70dfd448e29c329818b8cdae7fb2128a26 # Parent 5b58c002d6adcd327501a0b727225a3b9dbf4381 clix: Pass short_help option to modules correctly diff -r 5b58c002d6ad -r c2998f70dfd4 clix.lua --- 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;