Skip to content

Commit

Permalink
Updated misleading docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkjones committed Feb 20, 2012
1 parent 4b41a5b commit a8a898f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bunny.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ def help_purge_queue(self):
"\tPurges a queue of all content."]))

def do_qlist(self, s):
"""
Provides a listing of queues, including number of consumers,
queue depth, etc.
"""
print("\n")
out_fmt = "{0:<20}|{1:<20}|{2:<20}|{3:<20}|{4:<20}"
cell_line = ('-'*20+'+')*5
Expand Down Expand Up @@ -292,7 +296,7 @@ def do_get_status(self, vhost, qname):
print q_properties

def help_get_status(self):
print("\n".join(["\tget_status <queue>",
print("\n".join(["\tget_status vhost=<vhost> qname=<qname>",
"\tReports number of messages and consumers for a queue"]))

def emptyline(self):
Expand Down

0 comments on commit a8a898f

Please sign in to comment.