summaryrefslogtreecommitdiff
path: root/doc/pyxbgen_cli.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pyxbgen_cli.txt')
-rw-r--r--doc/pyxbgen_cli.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/pyxbgen_cli.txt b/doc/pyxbgen_cli.txt
index 58728f7..1ac9055 100644
--- a/doc/pyxbgen_cli.txt
+++ b/doc/pyxbgen_cli.txt
@@ -41,6 +41,7 @@ Specify and locate schema for which bindings should be generated.
``--schema-location`` *FILE_or_URL* ``-u`` :ref:`Add the location of an entrypoint schema. The...<pyxbgen--schema-location>`
``--schema-root`` *DIRECTORY* :ref:`The directory from which entrypoint schemas...<pyxbgen--schema-root>`
``--schema-stripped-prefix`` *TEXT* :ref:`Optional string that is stripped from the...<pyxbgen--schema-stripped-prefix>`
+ ``--location-prefix-rewrite`` *TEXT* :ref:`Add a rewrite entry for schema locations....<pyxbgen--location-prefix-rewrite>`
``--uri-content-archive-directory`` *DIRECTORY* :ref:`The directory path into which any content...<pyxbgen--uri-content-archive-directory>`
=================================== ============= ====== ==================================================
@@ -71,6 +72,14 @@ purpose is to convert absolute schema locations into relative ones to
allow offline processing when all schema are available in a local
directory. See ``schemaRoot``.
+.. _pyxbgen--location-prefix-rewrite:
+
+``--location-prefix-rewrite``
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+Add a rewrite entry for schema locations. Parameter values are strings
+of the form ``pfx=sub``. The effect is that a schema location that
+begins with ``pfx`` is rewritten so that it instead begins with ``sub``.
+
.. _pyxbgen--uri-content-archive-directory:
``--uri-content-archive-directory``