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
commit5db6d8b4ce339c577f1a2fc757ecc5e2161825eb (patch)
tree0828b9707ee299d53f3a8443c13279f7e4e54db1
parent728793f5edada8d9278a20e25af6b29688cd2ae4 (diff)
downloadqpid-python-5db6d8b4ce339c577f1a2fc757ecc5e2161825eb.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/qpid@1229587 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xtools/src/py/qpid-stat2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/src/py/qpid-stat b/tools/src/py/qpid-stat
index 7872936e98..a7272da3f1 100755
--- a/tools/src/py/qpid-stat
+++ b/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.")