Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Made option type as integer

  • Loading branch information...
commit db8a5a8b0316d8784f275b61835a40b9c6bcd8f7 1 parent 48bef1a
@lakshmivyas lakshmivyas authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  hyde.py
View
3  hyde.py
@@ -37,7 +37,8 @@ def main(argv):
dest = "webserve", default = False,
help = "Start an instance of the CherryPy webserver.")
parser.add_option("-p", "--port",
- dest = "port", default=8080,
+ dest = "port", default=8080,
+ type='int',
help = "Port webserver should listen on (8080).")
parser.add_option("-a", "--address",
dest = "address", default='localhost',
Please sign in to comment.
Something went wrong with that request. Please try again.