summaryrefslogtreecommitdiff
path: root/docs/commands.rst
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2014-05-21 21:26:51 +0200
committerArmin Ronacher <armin.ronacher@active-4.com>2014-05-21 21:26:51 +0200
commita2c58d5b8e7e4d8654507e13a93f185025fc7251 (patch)
treeb05cb32f029ec3272485836cb11deee524cca88f /docs/commands.rst
parent61eb5e2b473b2c3ef1a03000be127f5042fd88dd (diff)
downloadclick-a2c58d5b8e7e4d8654507e13a93f185025fc7251.tar.gz
Fixed a broken example
Diffstat (limited to 'docs/commands.rst')
-rw-r--r--docs/commands.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/commands.rst b/docs/commands.rst
index e4a12cd..6141271 100644
--- a/docs/commands.rst
+++ b/docs/commands.rst
@@ -184,7 +184,7 @@ A custom multi command just needs to implement a list and load method:
rv.sort()
return rv
- def get_command(self, name):
+ def get_command(self, ctx, name):
ns = {}
fn = os.path.join(plugin_folder, name + '.py')
with open(fn) as f: