From 398e9902b84e84b41c1912496eb700155cd31557 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 12 Jul 2022 14:45:14 -0400 Subject: [PATCH] twister: rename argument group: serial -> device using serial as the group name is misleading, so call it 'device' which is what all those options about. Signed-off-by: Anas Nashif --- scripts/pylib/twister/twisterlib/enviornment.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/pylib/twister/twisterlib/enviornment.py b/scripts/pylib/twister/twisterlib/enviornment.py index c56c2a4c63b..bc8fdebaf73 100644 --- a/scripts/pylib/twister/twisterlib/enviornment.py +++ b/scripts/pylib/twister/twisterlib/enviornment.py @@ -57,7 +57,7 @@ Artificially long but functional example: run_group_option = parser.add_mutually_exclusive_group() - serial = parser.add_mutually_exclusive_group(required="--device-testing" in sys.argv) + device = parser.add_mutually_exclusive_group(required="--device-testing" in sys.argv) test_or_build = parser.add_mutually_exclusive_group() @@ -140,12 +140,12 @@ Artificially long but functional example: --device-testing """) - serial.add_argument("--device-serial", + device.add_argument("--device-serial", help="""Serial device for accessing the board (e.g., /dev/ttyACM0) """) - serial.add_argument("--device-serial-pty", + device.add_argument("--device-serial-pty", help="""Script for controlling pseudoterminal. Twister believes that it interacts with a terminal when it actually interacts with the script. @@ -154,7 +154,7 @@ Artificially long but functional example: --device-serial-pty