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	Sun May 10 21:01:34 2015 -0700
+++ b/example/example.py	Sun May 10 21:05:24 2015 -0700
@@ -37,6 +37,7 @@
 
     # 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()