We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4b0b38 commit 465bec7Copy full SHA for 465bec7
examples/scripts/save_help_text.py
@@ -37,9 +37,7 @@ def get_sub_commands(parser: argparse.ArgumentParser) -> List[str]:
37
38
39
def add_help_to_file(command: str, outfile: TextIO) -> None:
40
- """
41
- Write a header and help text for a command to the output file
42
+ """Write a header and help text for a command to the output file"""
43
header = '{}\nCOMMAND: {}\n{}\n'.format(ASTERISKS, command, ASTERISKS)
44
outfile.write(header)
45
0 commit comments