From bb667cf14d21dc8a873636a9cf5e3017f4aa5503 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Tue, 5 Aug 2008 15:45:53 +0000 Subject: Restructured qpid-tool commands to allow active-only lists git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@682764 13f79535-47bb-0310-9956-ffa450edef68 --- python/commands/qpid-tool | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'python/commands') diff --git a/python/commands/qpid-tool b/python/commands/qpid-tool index 7301dad6e4..60535c253b 100755 --- a/python/commands/qpid-tool +++ b/python/commands/qpid-tool @@ -55,10 +55,11 @@ class Mcli (Cmd): print "Commands:" print " list - Print summary of existing objects by class" print " list - Print list of objects of the specified class" - print " list all - Print contents of all objects of specified class" - print " list active - Print contents of all non-deleted objects of specified class" - print " list - Print contents of one or more objects (infer className)" - print " list - Print contents of one or more objects" + print " list active - Print list of non-deleted objects of the specified class" + print " show - Print contents of all objects of specified class" + print " show active - Print contents of all non-deleted objects of specified class" + print " show - Print contents of one or more objects (infer className)" + print " show - Print contents of one or more objects" print " list is space-separated, ranges may be specified (i.e. 1004-1010)" print " call [] - 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) -- cgit v1.2.1