From 4de95f410fd4c170f5ccdb9a4c74d383e0574d55 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 10 Oct 2019 11:49:21 +0200 Subject: Mention that standard_kconfig() returns the Kconfig instance Accidentally left out when the docstring was rewritten. --- kconfiglib.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kconfiglib.py b/kconfiglib.py index ba0418d..16ea20d 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -6060,7 +6060,8 @@ _unescape_sub = re.compile(r"\\(.)").sub def standard_kconfig(description=None): """ Argument parsing helper for tools that take a single optional Kconfig file - argument (default: Kconfig). Uses argparse internally. + argument (default: Kconfig). Returns the Kconfig instance for the parsed + configuration. Uses argparse internally. Exits with sys.exit() (which raises SystemExit) on errors. -- cgit v1.2.3