summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-12-21 00:24:45 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-12-21 00:24:45 -0500
commit465bec70ac5e21fca481b31d5d041fc4b57ca1de (patch)
tree5aa5648b81e36309217629995468b4ec1a2a1fa9 /examples
parentc4b0b384bd5417755bb44a191e8f7d9b56826a98 (diff)
downloadcmd2-git-465bec70ac5e21fca481b31d5d041fc4b57ca1de.tar.gz
Removed newlines
Diffstat (limited to 'examples')
-rw-r--r--examples/scripts/save_help_text.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/scripts/save_help_text.py b/examples/scripts/save_help_text.py
index d08463f2..d3c8a91e 100644
--- a/examples/scripts/save_help_text.py
+++ b/examples/scripts/save_help_text.py
@@ -37,9 +37,7 @@ def get_sub_commands(parser: argparse.ArgumentParser) -> List[str]:
def add_help_to_file(command: str, outfile: TextIO) -> None:
- """
- Write a header and help text for a command to the output file
- """
+ """Write a header and help text for a command to the output file"""
header = '{}\nCOMMAND: {}\n{}\n'.format(ASTERISKS, command, ASTERISKS)
outfile.write(header)