diff --git a/gen.py b/gen.py index b68a4228..4b035903 100755 --- a/gen.py +++ b/gen.py @@ -42,6 +42,7 @@ import getopt XEPPATH = "/var/www/vhosts/xmpp.org/extensions" BUILDDICT = "/var/xsf/xepbuild.dict" +verbose = 0 last_build = {} def filebase( filename ): @@ -156,6 +157,10 @@ def main(argv): print "Error" sys.exit(2) + for opt, arg in options: + if opt in ('-v'): + verbose = 1 + xep = remainder[0] last_build = loadDict(BUILDDICT)