summaryrefslogtreecommitdiff
path: root/qpid/python/commands
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2008-08-05 15:45:53 +0000
committerTed Ross <tross@apache.org>2008-08-05 15:45:53 +0000
commit2f821d39bc528967fa2a7f55841f898e3e115c0a (patch)
treee50a4b6e7db0ab81ba915ded30adc404ec1e6cef /qpid/python/commands
parent95068324795cb3c0f7c72c5c494998aee5196903 (diff)
downloadqpid-python-2f821d39bc528967fa2a7f55841f898e3e115c0a.tar.gz
Restructured qpid-tool commands to allow active-only lists
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@682764 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/commands')
-rwxr-xr-xqpid/python/commands/qpid-tool12
1 files changed, 8 insertions, 4 deletions
diff --git a/qpid/python/commands/qpid-tool b/qpid/python/commands/qpid-tool
index 7301dad6e4..60535c253b 100755
--- a/qpid/python/commands/qpid-tool
+++ b/qpid/python/commands/qpid-tool
@@ -55,10 +55,11 @@ class Mcli (Cmd):
print "Commands:"
print " list - Print summary of existing objects by class"
print " list <className> - Print list of objects of the specified class"
- print " list <className> all - Print contents of all objects of specified class"
- print " list <className> active - Print contents of all non-deleted objects of specified class"
- print " list <list-of-IDs> - Print contents of one or more objects (infer className)"
- print " list <className> <list-of-IDs> - Print contents of one or more objects"
+ print " list <className> active - Print list of non-deleted objects of the specified class"
+ print " show <className> - Print contents of all objects of specified class"
+ print " show <className> active - Print contents of all non-deleted objects of specified class"
+ print " show <list-of-IDs> - Print contents of one or more objects (infer className)"
+ print " show <className> <list-of-IDs> - Print contents of one or more objects"
print " list is space-separated, ranges may be specified (i.e. 1004-1010)"
print " call <ID> <methodName> [<args>] - Invoke a method on an object"
print " schema - Print summary of object classes seen on the target"
@@ -115,6 +116,9 @@ class Mcli (Cmd):
def do_list (self, data):
self.dataObject.do_list (data)
+ def do_show (self, data):
+ self.dataObject.do_show (data)
+
def do_call (self, data):
try:
self.dataObject.do_call (data)