aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2020-01-27 15:03:40 +0000
committerGravatar jesopo2020-01-27 15:03:40 +0000
commit4cffeae132cc61d2d3cff2a8a9170d84cc1a555a (patch)
tree49de53597e9b18e69383a148c4d7ea99e6484b32
parentallow spec arguments to be "non-consuming" (doesn't show up in usage) (diff)
signature
forgot to change `usage` to `usages_kwarg`
-rw-r--r--src/core_modules/help.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core_modules/help.py b/src/core_modules/help.py
index bc104839..3de2231f 100644
--- a/src/core_modules/help.py
+++ b/src/core_modules/help.py
@@ -16,7 +16,7 @@ class Module(ModuleManager.BaseModule):
else:
context = utils.parse.SpecArgumentContext.PRIVATE
usages = [utils.parse.argument_spec_human(s, context) for s in spec]
- elif usage:
+ elif usages_kwarg:
usages = usages_kwarg
if usages: