From 744039268409bac00eb8696d8f74d71c2fcd2abc Mon Sep 17 00:00:00 2001 From: Antoine Beyeler <49431240+abey79@users.noreply.github.com> Date: Mon, 8 Jan 2024 09:43:25 +0100 Subject: [PATCH] Fixed CLI help of the `lreverse` command (#683) --- CHANGELOG.md | 1 + vpype_cli/layerops.py | 12 ++---------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0227d523..eb67eca4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ Release date: UNRELEASED ### Bug fixes * Fixed issue with ImageRenderer where the GL context wasn't released, ultimately causing a crash when running the test suite (which could involve many hundreds of context creation) (#616) +* Fixed CLI help for the lreverse command (#683) ### Other changes diff --git a/vpype_cli/layerops.py b/vpype_cli/layerops.py index ef1464e7..b747211f 100644 --- a/vpype_cli/layerops.py +++ b/vpype_cli/layerops.py @@ -269,17 +269,9 @@ def lreverse(document: vp.Document, layers) -> vp.Document: (to refer to every exising layers). Examples: - Delete layer one: + Reverse path order in layer 1: - $ vpype [...] ldelete 1 [...] - - Delete layers 1 and 2: - - $ vpype [...] ldelete 1,2 [...] - - Delete all layers: - - $ vpype [...] ldelete all [...] + $ vpype [...] lreverse 1 [...] """ lids = set(multiple_to_layer_ids(layers, document))