1
0
mirror of https://github.com/ranl/monitor-utils.git synced 2024-11-21 07:03:41 +01:00

check_activemq doc

This commit is contained in:
ranl 2013-12-29 13:45:52 +02:00
parent 9c4860049d
commit 2d3ad7991a
2 changed files with 5 additions and 2 deletions

View File

@ -29,8 +29,11 @@ def prepareOpts():
}
def err( string ):
print 'Error: {0}'.format( string )
parser.print_help()
print __doc__
parser.print_help()
print '\nTypes:'
for k in cmds:
print ' {0}: {1}'.format(k ,cmds[k])
exit(1)
parser = OptionParser()

View File

@ -22,8 +22,8 @@ def prepareOpts():
def err( string ):
print 'Error: {0}'.format( string )
parser.print_help()
print __doc__
parser.print_help()
exit(1)
parser = OptionParser()