From d34293985ab4459dc56e32816f7efc3bed3d97d1 Mon Sep 17 00:00:00 2001 From: kanechen66 Date: Fri, 8 Nov 2024 10:51:10 -0800 Subject: [PATCH] Remove xml_file args from WriteConfVarListToUefiVars.py (#420) ## Description There is an unnecessary argument -x in the `WriteConfVarListToUefiVars.py` script in PR #413 - [x] Impacts functionality? - [ ] Impacts security? - [ ] Breaking change? - [ ] Includes tests? - [ ] Includes documentation? ## How This Was Tested python WriteConfVarListToUefiVars.py -l test.vl and it doesn't require -x arg ## Integration Instructions N/A --- SetupDataPkg/Tools/WriteConfVarListToUefiVars.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/SetupDataPkg/Tools/WriteConfVarListToUefiVars.py b/SetupDataPkg/Tools/WriteConfVarListToUefiVars.py index d6ba398f..3326a084 100644 --- a/SetupDataPkg/Tools/WriteConfVarListToUefiVars.py +++ b/SetupDataPkg/Tools/WriteConfVarListToUefiVars.py @@ -30,16 +30,6 @@ def option_parser(): help="""Specify the input setting file""", ) - parser.add_argument( - "-x", - "--xml", - dest="xml_file", - required=True, - type=str, - default='""', - help="""Specify the xml file""", - ) - arguments = parser.parse_args() if not os.path.isfile(arguments.setting_file):