@@ -10,13 +10,17 @@ Usage: pdfly rm [OPTIONS] FILENAME FN_PGRGS...
1010
1111 Remove pages from PDF files.
1212
13- Page ranges refer to the previously-named file.
13+ Page ranges refer to the previously-named file.
1414 A file not followed by a page range means all the pages of the file.
1515
1616 PAGE RANGES are like Python slices.
17-
17+
1818 Remember, page indices start with zero.
1919
20+ When using page ranges that start with a negative value a
21+ two-hyphen symbol -- must be used to separate them from
22+ the command line options.
23+
2024 Page range expression examples:
2125
2226 : all pages. -1 last page.
@@ -44,7 +48,7 @@ Usage: pdfly rm [OPTIONS] FILENAME FN_PGRGS...
4448
4549 Remove all pages except page seven from report.pdf,
4650 producing a single-page report.pdf.
47-
51+
4852╭─ Arguments ─────────────────────────────────────────────────────────────────────────────────────────────╮
4953│ * filename FILE [default: None] [required] │
5054│ * fn_pgrgs FN_PGRGS... filenames and/or page ranges [default: None] [required] │
@@ -68,6 +72,6 @@ pdfly rm document.pdf 4
6872Remove the first and last page of ` document.pdf ` , producing ` output.pdf ` .
6973
7074```
71- pdfly rm -o output.pdf document.pdf 1:-1
75+ pdfly rm -o output.pdf document.pdf 1:-1
7276
73- ```
77+ ```
0 commit comments