summaryrefslogtreecommitdiff
path: root/qpid/tools/src/py/qpid-cluster
diff options
context:
space:
mode:
authorJonathan Robie <jonathan@apache.org>2010-12-08 18:51:32 +0000
committerJonathan Robie <jonathan@apache.org>2010-12-08 18:51:32 +0000
commitc03731903e9687396163ae70361b8a80a615008b (patch)
tree348b3211d192d905b9be98371d1bb2f21ea9d421 /qpid/tools/src/py/qpid-cluster
parentc9586a6bbab528a3c57eac295cf3f1952e86bf3d (diff)
downloadqpid-python-c03731903e9687396163ae70361b8a80a615008b.tar.gz
Corrected datatypes of numeric defaults for optparse.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1043599 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/tools/src/py/qpid-cluster')
-rwxr-xr-xqpid/tools/src/py/qpid-cluster2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/tools/src/py/qpid-cluster b/qpid/tools/src/py/qpid-cluster
index ae52670ef6..aabf460da0 100755
--- a/qpid/tools/src/py/qpid-cluster
+++ b/qpid/tools/src/py/qpid-cluster
@@ -239,7 +239,7 @@ def main(argv=None):
parser = OptionParser(usage="usage: %prog [options] BROKER",
description="Example: $ qpid-cluster -C broker-host:10000")
- parser.add_option("-t", "--timeout", action="store", type="int", default="10", metavar="SECS", help="Maximum time to wait for broker connection (in seconds)")
+ parser.add_option("-t", "--timeout", action="store", type="int", default=10, metavar="SECS", help="Maximum time to wait for broker connection (in seconds)")
parser.add_option("-C", "--all-connections", action="store_true", default=False, help="View client connections to all cluster members")
parser.add_option("-c", "--connections", metavar="ID", help="View client connections to specified member")
parser.add_option("-d", "--del-connection", metavar="HOST:PORT", help="Disconnect a client connection")