diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2014-05-21 21:26:51 +0200 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2014-05-21 21:26:51 +0200 |
commit | a2c58d5b8e7e4d8654507e13a93f185025fc7251 (patch) | |
tree | b05cb32f029ec3272485836cb11deee524cca88f /docs/commands.rst | |
parent | 61eb5e2b473b2c3ef1a03000be127f5042fd88dd (diff) | |
download | click-a2c58d5b8e7e4d8654507e13a93f185025fc7251.tar.gz |
Fixed a broken example
Diffstat (limited to 'docs/commands.rst')
-rw-r--r-- | docs/commands.rst | 2 |
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: |