From 78c7f4ea75462f766a4f15eb819b7ec457a8fc64 Mon Sep 17 00:00:00 2001 From: Lars Holmberg Date: Wed, 20 Jan 2021 11:08:32 +0100 Subject: [PATCH] hide headless argument --- bin/swarm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/swarm b/bin/swarm index fb7049c..a2ec8c2 100644 --- a/bin/swarm +++ b/bin/swarm @@ -28,7 +28,12 @@ parser = configargparse.ArgumentParser( ) parser.add_argument("-f", "--locustfile", type=str, dest="testplan") -parser.add_argument("--headless", type=bool, dest="ignore_this") +parser.add_argument( + "--headless", + action="store_true", + dest="ignore_this", + help=configargparse.SUPPRESS, +) parser.add_argument( "--loadgen-list", type=str,