twister: remove redundant required for generate-hardware-map

remove a redundate required for --generate-hardware-map

this fixing: #41066

Signed-off-by: Hake Huang <hake.huang@oss.nxp.com>
This commit is contained in:
Hake Huang 2021-12-12 20:52:05 +08:00 committed by Anas Nashif
commit 2f3b8b01aa

View file

@ -345,7 +345,6 @@ Artificially long but functional example:
"use with the --device-serial option.")
run_group_option.add_argument("--generate-hardware-map",
required="--generate-hardware-map" in sys.argv,
help="""Probe serial devices connected to this platform
and create a hardware map file to be used with
--device-testing