about summary refs log tree commit diff
path: root/extractdoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'extractdoc.py')
-rw-r--r--extractdoc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/extractdoc.py b/extractdoc.py
index 14cfb94..cd7c329 100644
--- a/extractdoc.py
+++ b/extractdoc.py
@@ -18,7 +18,8 @@ def clickfunc2commands(func):
         info = ctx.to_info_dict()
     return [Command(name,
                     (frozenset({tuple(parameter["opts"])
-                                for parameter in properties["params"]})
+                                for parameter in properties["params"]
+                                if not parameter["hidden"]})
                      # We add the -h variant of the help option to all
                      # subcommands through the context settings. This does not
                      # reflect properly in the info dict. Hence this hack to add