mirror of
https://github.com/ranl/monitor-utils.git
synced 2024-11-04 23:43:40 +01:00
check_activemq doc
This commit is contained in:
parent
9c4860049d
commit
2d3ad7991a
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user