Skip to content

Commit d44c5e4

Browse files
committed
Fixed inline help of the layout command
1 parent cc26302 commit d44c5e4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Release date: UNRELEASED
1414
### Bug fixes
1515

1616
* Fixed a crash when reading SVG with simplify active (via the `read --simplify` command or the read APIs with `simplify=True`) (thanks to @nataquinones) (#732)
17+
* Fixed erroneous mention of `--page-size` in `layout`'s inline help
1718

1819
### Other changes
1920

vpype_cli/operations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,9 @@ def pagesize(document: vp.Document, size, landscape) -> vp.Document:
555555
examples:
556556
557557
\b
558-
--page-size 11x14in # 11in by 14in
559-
--page-size 1024x768 # 1024px by 768px
560-
--page-size 13.5inx4cm # 13.5in by 4cm
558+
layout 11x14in # 11in by 14in
559+
layout 1024x768 # 1024px by 768px
560+
layout 13.5inx4cm # 13.5in by 4cm
561561
562562
Portrait orientation is enforced, unless `--landscape` is used, in which case landscape
563563
orientation is enforced.

0 commit comments

Comments
 (0)