From d3d7745dc5b91288385dc7fa0425c1a5e3205806 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Mon, 25 Sep 2023 00:26:43 +0200 Subject: [PATCH] fix docstrings --- src/escpos/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/escpos/cli.py b/src/escpos/cli.py index 97f1dcc..7fb5a5e 100644 --- a/src/escpos/cli.py +++ b/src/escpos/cli.py @@ -300,7 +300,7 @@ ESCPOS_COMMANDS = [ }, { "option_strings": ("--histeq",), - "help": "Equalize the histrogram", + "help": "Equalize the histogram", "type": str_to_bool, }, { @@ -458,6 +458,7 @@ ESCPOS_COMMANDS = [ def print_extended_information() -> None: + """Print diagnostic information for bug reports.""" print(f"* python-escpos version: `{version.version}`") print( f"* python version: `{platform.python_implementation()} v{platform.python_version()}`"