diff --git a/user_guide_src/source/changelogs/v4.4.0.rst b/user_guide_src/source/changelogs/v4.4.0.rst index 748829333165..ea3c5f90c326 100644 --- a/user_guide_src/source/changelogs/v4.4.0.rst +++ b/user_guide_src/source/changelogs/v4.4.0.rst @@ -32,6 +32,9 @@ Enhancements Commands ======== +- Now ``spark routes`` command can specify the host in the request URL. + See :ref:`routing-spark-routes-specify-host`. + Testing ======= diff --git a/user_guide_src/source/incoming/routing.rst b/user_guide_src/source/incoming/routing.rst index fffa5cb1bdb8..5c1303b99df2 100644 --- a/user_guide_src/source/incoming/routing.rst +++ b/user_guide_src/source/incoming/routing.rst @@ -858,3 +858,14 @@ Sort by Handler You can sort the routes by *Handler*:: > php spark routes -h + +.. _routing-spark-routes-specify-host: + +Specify Host +------------ + +.. versionadded:: 4.4.0 + +You can specify the host in the request URL with the ``--host`` option:: + + > php spark routes --host accounts.example.com