Skip to content

Commit

Permalink
doc improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Sep 13, 2021
1 parent 275a730 commit 1c65699
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
------------------------------------
Expand Down
6 changes: 4 additions & 2 deletions docs/extending-locust.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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 <locust.event.Events.init_command_line_parser>` Event. Custom arguments are also presented and editable in the web UI.
Expand Down

0 comments on commit 1c65699

Please sign in to comment.