From c861a74275cc994b392560dd8be53fd96b3fb15b Mon Sep 17 00:00:00 2001 From: Lars Holmberg Date: Wed, 8 May 2024 19:41:47 +0200 Subject: [PATCH] Update custom-load-shape.rst --- docs/custom-load-shape.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/custom-load-shape.rst b/docs/custom-load-shape.rst index 16d197a950..12d843b399 100644 --- a/docs/custom-load-shape.rst +++ b/docs/custom-load-shape.rst @@ -101,7 +101,7 @@ This shape would create create in the first 10 seconds 10 User of ``UserA``. In Reusing common options in custom shapes --------------------------------------- -By default the *Users*, *Spawn Rate* and *Run Time* options will be hidden from the UI, and if you specify them on command line Locust will log a warning. This is because those options dont directly apply to shapes, and specifying them is most often a mistake. +When using shapes, the the *Users*, *Spawn Rate* and *Run Time* options will be hidden from the UI, and if you specify them on command line Locust will log a warning. This is because those options dont directly apply to shapes, and specifying them might be a mistake. If you really want to combine a shape with these options, set the ``use_common_options`` attribute and access them from ``self.runner.environment.parsed_options``: