From df1fc84247cb490a91bbcba3bdd6ab28b80a1597 Mon Sep 17 00:00:00 2001 From: Lukas Hof Date: Fri, 11 Oct 2024 14:08:49 +0200 Subject: [PATCH] fix typo in cli --- pyGCodeDecode/cli.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pyGCodeDecode/cli.py b/pyGCodeDecode/cli.py index 8140560..7b4e484 100644 --- a/pyGCodeDecode/cli.py +++ b/pyGCodeDecode/cli.py @@ -100,7 +100,7 @@ def _get_out_dir(out_dir: pathlib.Path | None, g_code_file: pathlib.Path) -> pat printer_setup = setup( presets_file=presets_file, printer=printer_name, - layer_cue=args.layer_queue, + layer_cue=args.layer_cue, ) # running the simulation by creating a simulation object @@ -203,13 +203,13 @@ def _main(*args): metavar="", ) plot_parser.add_argument( - "-lq", - "--layer_queue", + "-lc", + "--layer_cue", action="store", - help="The queue indicating a layer switch in the GCode.", + help="The cue indicating a layer switch in the GCode.", default=None, type=str, - metavar="", + metavar="", ) # parse the arguments