summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2012-01-10 15:13:38 +0000
committerTed Ross <tross@apache.org>2012-01-10 15:13:38 +0000
commit1ff84107b1ac4512d6aba7a3084fe7cbc9d7854e (patch)
tree006ab91f9d7e9d69e6fa2db4a58dd1c4e4730533
parentcf2c7eb9b042a8d9090a0eb2f9ef173b3a905f70 (diff)
downloadqpid-python-1ff84107b1ac4512d6aba7a3084fe7cbc9d7854e.tar.gz
QPID-3737 Patch to make qpid-stat -L option work
Applied patch from Paul Colby git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1229587 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xqpid/tools/src/py/qpid-stat2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/tools/src/py/qpid-stat b/qpid/tools/src/py/qpid-stat
index 7872936e98..a7272da3f1 100755
--- a/qpid/tools/src/py/qpid-stat
+++ b/qpid/tools/src/py/qpid-stat
@@ -70,7 +70,7 @@ def OptionsAndArguments(argv):
help="Sort by column name")
group2.add_option("-I", "--increasing", action="store_true", default=False,
help="Sort by increasing value (default = decreasing)")
- group2.add_option("-L", "--limit", default=50, metavar="<n>",
+ group2.add_option("-L", "--limit", type="int", default=50, metavar="<n>",
help="Limit output to n rows")
group2.add_option("-C", "--cluster", action="store_true", default=False,
help="Display per-broker cluster detail.")