From d6acacecd6357abcb65814a232c3882021b2571c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Vonheiden?= <bjoern.vonheiden@hotmail.de>
Date: Fri, 18 Dec 2020 11:51:18 +0100
Subject: [PATCH] add some documentation for threshold

---
 execution/README.md         | 1 +
 execution/lib/cli_parser.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/execution/README.md b/execution/README.md
index a77eecd20..7b42a3d97 100644
--- a/execution/README.md
+++ b/execution/README.md
@@ -208,6 +208,7 @@ kubectl delete -f theodolite.yaml
 | --prometheus         | PROMETHEUS_BASE_URL | Defines where to find the prometheus instance. *Default:* `http://localhost:9090` |
 | --path               | RESULT_PATH         | A directory path for the results. Relative to the Execution folder. *Default:* `results` |
 | --configurations     | CONFIGURATIONS      | Defines environment variables for the use cases and, thus, enables further configuration options. |
+| --threshold          | THRESHOLD           | The threshold for the trend slop that the search strategies use to determine that a load could be handled. *Default:* `2000` |
 
 ### Domain Restriction
 
diff --git a/execution/lib/cli_parser.py b/execution/lib/cli_parser.py
index bda3949f4..de609bc55 100644
--- a/execution/lib/cli_parser.py
+++ b/execution/lib/cli_parser.py
@@ -140,7 +140,7 @@ def benchmark_parser(description):
                         type=int,
                         metavar='<threshold>',
                         default=os.environ.get('THRESHOLD', 2000),
-                        help='The threshold the trend search strategies use to determine that a load could be handled.')
+                        help='The threshold for the trend slop that the search strategies use to determine that a load could be handled')
     return parser
 
 
-- 
GitLab