From 4c315e387f18010ba0b5661744ad3c792f21d2d1 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Wed, 15 Sep 2021 09:32:08 -0700 Subject: Adding doctests. Also added a logging filter. --- config.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'config.py') diff --git a/config.py b/config.py index 574449f..1e690bc 100644 --- a/config.py +++ b/config.py @@ -1,7 +1,9 @@ #!/usr/bin/env python3 -"""Global configuration driven by commandline arguments (even across -different modules). Usage: +"""Global configuration driven by commandline arguments, environment variables +and saved configuration files. This works across several modules. + +Usage: module.py: ---------- @@ -36,7 +38,8 @@ different modules). Usage: config.parse() # Very important, this must be invoked! If you set this up and remember to invoke config.parse(), all commandline - arguments will play nicely together: + arguments will play nicely together. This is done automatically for you + if you're using the bootstrap module's initialize wrapper. % main.py -h usage: main.py [-h] -- cgit v1.3