Skip to content
Snippets Groups Projects
Commit a13aebaf authored by Rajmund Hruška's avatar Rajmund Hruška
Browse files

Merge branch 'hruska-bugfix-#1-unkown-args' into 'devel'

Allow parsing of unknown arguments

See merge request 709/mentat/pyzenkit!9
parents 210e8769 5adafa6c
No related branches found
No related tags found
2 merge requests!100.64,!9Allow parsing of unknown arguments
Pipeline #1887 passed
...@@ -62,6 +62,13 @@ Copyright ...@@ -62,6 +62,13 @@ Copyright
Changelog Changelog
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Version 0.64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Released 2022-06-28
- Allowed parsing of unknown arguments.
Version 0.63 Version 0.63
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
......
...@@ -771,7 +771,8 @@ class BaseApp: # pylint: disable=locally-disabled,too-many-public-methods, too- ...@@ -771,7 +771,8 @@ class BaseApp: # pylint: disable=locally-disabled,too-many-public-methods, too-
:rtype: dict :rtype: dict
""" """
# Actually process command line arguments. # Actually process command line arguments.
cli_cfgs = vars(argparser.parse_args()) cli_cfgs, unkw = argparser.parse_known_args()
cli_cfgs = vars(cli_cfgs)
# Immediatelly check for debug flag. # Immediatelly check for debug flag.
if cli_cfgs.get(self.CONFIG_DEBUG, False): if cli_cfgs.get(self.CONFIG_DEBUG, False):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment