From b3245cb702ff93c163d753bab038ea6960daf352 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Mon, 23 Jan 2023 21:06:51 +0100 Subject: [PATCH] tml_decode: Fix two typos --- tools/README.md | 2 +- tools/tml_decode | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/README.md b/tools/README.md index 3fc150aee..eb42a10c0 100644 --- a/tools/README.md +++ b/tools/README.md @@ -75,7 +75,7 @@ The parser is not strict, and will consume most serial logs with/without timesta By default the decoded trace is written to the standard output as a tab-separated table. If `--plot` is used, produce a graph into the requested output file instead: - ./tml_decode -o graph.png serial.log + ./tml_decode -p graph.png serial.log When plotting the [Matplotlib](https://matplotlib.org/) module is required. diff --git a/tools/tml_decode b/tools/tml_decode index 138443654..28d679696 100755 --- a/tools/tml_decode +++ b/tools/tml_decode @@ -75,7 +75,7 @@ def plot_therm_dump(data, output, title): def main(): ap = argparse.ArgumentParser(description='Decode (or plot) the TML trace contained in the serial LOG', epilog=""" - The TML trace needs to be enabled by issuing "M155 S1 C3" and "D70 S1" to the printer. By + The TML trace needs to be enabled by issuing "M155 S1 C3" and "D70 S1" to the printer. Output the decoded trace to standard output by default. If --plot is provided, produce a graph into IMG directly instead. """)