Unknown option --pdf-page when converting PDF to SVG on command line.

Summary:

Inkscape fails with error when using --pdf-page command line option.

Steps to reproduce:

  • Run inkscape --pdf-page=2 --export-type=svg --export-filename=output-page-2.svg input.pdf.

What happened?

Error message: Unknown option --pdf-page=2.

What should have happened?

Should have created a file named output-page-2.svg with content of the page 2 of the input.pdf.

Version info

Inkscape 1.3 (0e150ed6c4, 2023-07-21)

    GLib version:     2.76.4
    GTK version:      3.24.38
    glibmm version:   2.66.6
    gtkmm version:    3.24.7
    libxml2 version:  2.11.4
    libxslt version:  1.1.38
    Cairo version:    1.17.8
    Pango version:    1.50.14
    HarfBuzz version: 8.1.1

    OS version:       Arch Linux