Index: trychange.py |
diff --git a/trychange.py b/trychange.py |
index f5e710be2e6d92948f21a4faca49435f0de032a9..b5a98d80ce00e0dc83660c3615dd32cf3a71f5bd 100755 |
--- a/trychange.py |
+++ b/trychange.py |
@@ -612,7 +612,7 @@ def TryChange(argv, |
help="Use HTTP to talk to the try server [default]") |
group.add_option("-H", "--host", |
help="Host address") |
- group.add_option("-P", "--port", |
+ group.add_option("-P", "--port", type="int", |
help="HTTP port") |
group.add_option("--proxy", |
help="HTTP proxy") |