diff options
Diffstat (limited to 'scripts/lib/image/help.py')
-rw-r--r-- | scripts/lib/image/help.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/image/help.py b/scripts/lib/image/help.py index dc6ff36610..717d84755f 100644 --- a/scripts/lib/image/help.py +++ b/scripts/lib/image/help.py @@ -42,6 +42,8 @@ def display_help(subcommand, subcommands): return False hlp = subcommands.get(subcommand, subcommand_error)[2] + if callable(hlp): + hlp = hlp() pager = subprocess.Popen('less', stdin=subprocess.PIPE) pager.communicate(hlp) |