From 73972b730a1ae31e0c47778df6110c0d3195565d Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Mon, 2 Sep 2024 16:28:12 +0200 Subject: [PATCH] fix: remove extra options in commandline parser --- src/rougail/cli/__main__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rougail/cli/__main__.py b/src/rougail/cli/__main__.py index d83904c..5a226b7 100644 --- a/src/rougail/cli/__main__.py +++ b/src/rougail/cli/__main__.py @@ -8,12 +8,12 @@ from rougail.utils import load_modules def main(): - rougailconfig = get_rougail_config(backward_compatibility=False) + rougailconfig = get_rougail_config(backward_compatibility=False, add_extra_options=False) cmd_config = rougailconfig.config cmd_config.property.read_write() cmd_config.property.add('not_for_commandline') parser = TiramisuCmdlineParser(cmd_config, - add_no_option_to_boolean=False, + add_extra_options=False, short_name_max_len=2, ) parser.parse_args()