# HG changeset patch # User Matthew Wild # Date 1248556414 -3600 # Node ID 2aa02b99d2aff9025911d1fa8c1ae5de6ad1cfd1 # Parent ea4d95329cebac2dd11042f63510b9458828d790 Restrict access to opts table from squishy files now that we have GetOption diff -r ea4d95329ceb -r 2aa02b99d2af squish.lua --- a/squish.lua Sat Jul 25 22:09:53 2009 +0100 +++ b/squish.lua Sat Jul 25 22:13:34 2009 +0100 @@ -1,7 +1,7 @@ #!/usr/bin/env lua local short_opts = { v = "verbose", vv = "very_verbose", o = "output", q = "quiet", qq = "very_quiet" } -opts = {}; +local opts = {}; for _, opt in ipairs(arg) do if opt:match("^%-") then