Skip to content

Commit

Permalink
Fixed CLI help of the lreverse command (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 authored Jan 8, 2024
1 parent 9ee611f commit 7440392
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
12 changes: 2 additions & 10 deletions vpype_cli/layerops.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 7440392

Please sign in to comment.