Skip to content

Commit 47309d5

Browse files
committed
Fix description of debug subcommand
1 parent cc6d52f commit 47309d5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Options:
235235
--help Show this message and exit.
236236
237237
Commands:
238-
debug Monitor stdin for keypresses to trigger debugging functions
238+
debug Allow for debug-level interaction with the CLI
239239
post Post raw (TP) JSON data to URLs on change
240240
sq-stdout Output data as sent to Squore to stdout whenever the tournament changes
241241
squoresrv Mount endpoints to serve data for Squore
@@ -524,6 +524,6 @@ a few things left to do:
524524

525525
## Legalese
526526

527-
`tptools` is © 2024–5 martin f. krafft <[email protected]>.
527+
`tptools` is © 2024–6 martin f. krafft <[email protected]>.
528528

529529
It is released under the terms of the MIT Licence.

tptools/tpsrv/debug.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async def debug_key_press_handler(clictx: CliContext) -> PluginLifespan:
3636
@plugin
3737
@pass_clictx
3838
async def debug(clictx: CliContext) -> PluginLifespan:
39-
"""Output tournament data as JSON to stdout whenever it changes"""
39+
"""Allow for debug-level interaction with the CLI"""
4040

4141
async with debug_key_press_handler(clictx) as task:
4242
yield task

0 commit comments

Comments
 (0)