Commit e0078c70 authored by Denis Bilenko's avatar Denis Bilenko

wsgi: add -p as an alias for --port

parent 79a25437
......@@ -180,7 +180,7 @@ def extract_application(filename):
if __name__ == '__main__':
import optparse
parser = optparse.OptionParser()
parser.add_option('--port', default='8080', type='int')
parser.add_option('-p', '--port', default='8080', type='int')
parser.add_option('--interface', default='127.0.0.1')
parser.add_option('--no-spawn', dest='spawn', default=True, action='store_false')
options, args = parser.parse_args()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment