]> git.e2factory.org Git - e2factory.git/commitdiff
e2option: export opts in the global e2option table
authorGordon Hecker <gh@emlix.com>
Fri, 4 Dec 2009 12:58:28 +0000 (13:58 +0100)
committerGordon Hecker <gh@emlix.com>
Wed, 16 Dec 2009 11:41:58 +0000 (12:41 +0100)
Signed-off-by: Gordon Hecker <gh@emlix.com>
generic/e2option.lua

index 20b07d599d2b9385600703cc415c5d8773fc65e0..30a117ff79ae37b0a915720b4621915ed11048c8 100644 (file)
@@ -347,6 +347,7 @@ function e2option.parse(args)
   if opts["Whint"] or opts["Wall"] then
     e2lib.warn_category.WHINT = true
   end
+  e2option.opts = opts
   return opts, vals
 end