changeset 24:099f270654ae

more wip
author Jeff Hammel <k0scist@gmail.com>
date Sun, 10 May 2015 21:05:24 -0700
parents 6a7fd9f83554
children 58643b3191f0
files example/example.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/example/example.py
+++ b/example/example.py
@@ -32,14 +32,15 @@ def factory():
     app = SVGSiteMap(app, file=inifile, output=svgfile)
     return app
 
 def main(args=sys.argv[1:]):
     """CLI"""
 
     # parse command line options
     parser = argparse.ArgumentParser(description=__doc__)
+    options = parser.parse_args(args)
 
     server = simple_server.make_server(host='0.0.0.0', port=int(54321), app=factory())
     server.serve_forever()
 
 if __name__ == '__main__':
     main()