diff --git a/docs/configuration.rst b/docs/configuration.rst index 24ea2197f6..9d73c16bf5 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -80,7 +80,7 @@ Here's a table of all the available configuration options, and their correspondi Custom arguments ---------------- -See :ref:`parametrizing-locustfiles` +See :ref:`custom-arguments` Customization of statistics settings ------------------------------------ diff --git a/docs/extending-locust.rst b/docs/extending-locust.rst index fcad8c0536..1c0b83201e 100644 --- a/docs/extending-locust.rst +++ b/docs/extending-locust.rst @@ -156,7 +156,7 @@ Parametrizing locustfiles There are two main ways to parametrize your locustfile. -1. Basic environment variables +Basic environment variables --------------------------- Like with any program, you can use environment variables: @@ -181,7 +181,9 @@ On windows: import os print(os.environ['MY_FUNKY_VAR']) -2. Custom arguments +.. _custom-arguments: + +Custom arguments ---------------- You can add your own command line arguments to Locust, using the :py:attr:`init_command_line_parser ` Event. Custom arguments are also presented and editable in the web UI.