From 199dcb7ca16b14d2b72cc939a0b6972bdf46cc08 Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Mon, 24 Jan 2022 11:54:48 -0800 Subject: [PATCH] sta_connect2: debug needs to be done as store_true, just like the rest of lanforge_scripts Signed-off-by: Matthew Stidham --- py-scripts/sta_connect2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-scripts/sta_connect2.py b/py-scripts/sta_connect2.py index 679f4f2b..6a46240b 100755 --- a/py-scripts/sta_connect2.py +++ b/py-scripts/sta_connect2.py @@ -436,7 +436,7 @@ CLI Example: parser.add_argument("--dut_security", type=str, help="DUT security: openLF, wpa, wpa2, wpa3") parser.add_argument("--dut_passwd", type=str, help="DUT PSK password. Do not set for OPEN auth") parser.add_argument("--dut_bssid", type=str, help="DUT BSSID to which we expect to connect.") - parser.add_argument("--debug", type=str, help="enable debugging") + parser.add_argument("--debug", help="enable debugging", action="store_true") parser.add_argument("--prefix", type=str, help="Station prefix. Default: 'sta'", default='sta') parser.add_argument("--bringup_time", type=int, help="Seconds to wait for stations to associate and aquire IP. Default: 300", default=300)