From f4028d3949bec97031020ffa56b6801c86d38d5a Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 22 Sep 2024 18:33:02 +0100 Subject: [PATCH] Fix underscore/hyphen --- modules/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core.py b/modules/core.py index 8c569b3..a0d45ca 100644 --- a/modules/core.py +++ b/modules/core.py @@ -71,8 +71,8 @@ def parse_args() -> None: program.add_argument('--execution-threads', help='Number of execution threads', dest='execution_threads', type=int, default=suggest_execution_threads()) program.add_argument('--headless', help='Run in headless mode', dest='headless', default=False, action='store_true') - program.add_argument('--enhancer_upscale_factor', - help='Sets the upscale factor for the enhancer. Only applies if `face_enhancer` is set as a frame_processor', + program.add_argument('--enhancer-upscale-factor', + help='Sets the upscale factor for the enhancer. Only applies if `face_enhancer` is set as a frame-processor', dest='enhancer_upscale_factor', type=int, default=1) program.add_argument('-v', '--version', action='version', version=f'{modules.metadata.name} {modules.metadata.version}')