Skip to content

Commit

Permalink
Add requested comment for clarity
Browse files Browse the repository at this point in the history
closes #629
  • Loading branch information
sirosen committed Aug 15, 2018
1 parent 93c371d commit f9e0dbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions click/core.py
Expand Up @@ -778,6 +778,8 @@ def __init__(self, name, context_settings=None, callback=None,
#: should show up in the help page and execute. Eager parameters
#: will automatically be handled before non eager ones.
self.params = params or []
# if a form feed (page break) is found in the help text, truncate help
# text to the content preceding the first form feed
if help and '\f' in help:
help = help.split('\f', 1)[0]
self.help = help
Expand Down

0 comments on commit f9e0dbe

Please sign in to comment.