aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/examples/console.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/console.py b/python/examples/console.py
index dd499c5..225c7eb 100644
--- a/python/examples/console.py
+++ b/python/examples/console.py
@@ -256,7 +256,7 @@ class DevConsole(Cmd):
@options([make_option('-c', '--channel', action="store", help="Channel for history data"),
make_option('-n', '--count', action="store", default=5, help="Number of messages")
])
- def do_history(self, command, opts):
+ def do_get_history(self, command, opts):
opts.channel = self.default_channel if opts.channel is None else opts.channel
if opts.channel is None:
print_error("Missing channel")