# HG changeset patch
# User Jay Gagnon <grendel(a)linux.vnet.ibm.com>
# Date 1197065349 18000
# Node ID d9cc64a39524abaa5b88d6ac2b94199cdcf0b23e
# Parent d09a2f8d14bf7fb9e78480353cb18c54545b9d1d
[CU] Make help output a little more clear, add example.
Signed-off-by: Jay Gagnon <grendel(a)linux.vnet.ibm.com>
diff -r d09a2f8d14bf -r d9cc64a39524 tools/indication_tester.py
--- a/tools/indication_tester.py Thu Dec 06 11:36:42 2007 -0500
+++ b/tools/indication_tester.py Fri Dec 07 17:09:09 2007 -0500
@@ -325,13 +325,16 @@ class CIMIndicationSubscription:
self.__do_cimpost(self.conn, delete_inst_xml(self.name, "Filter"))
def main():
- parser = OptionParser(usage="usage: %prog [options] type")
+ usage = "usage: %prog [options] provider\nex: %prog CIM_InstModification"
+ parser = OptionParser(usage)
+
parser.add_option("-u", "--url", dest="url",
default="localhost:5988",
help="URL of CIMOM to connect to (host:port)")
parser.add_option("-N", "--ns", dest="ns",
default="root/virt",
help="Namespace (default is root/virt)")
parser.add_option("-n", "--name", dest="name",
default="Test",
- help="Base name for filter, handler, subscription")
+ help="Name for filter, handler, subscription \
+ (default: Test)")
(options, args) = parser.parse_args()