chainlib

Generic blockchain access library and tooling
Log | Files | Refs | README | LICENSE

commit 9419fbb77b314ba91800384857e86e7c3173b2e8
parent 49a4e4b4b8deff3370a22dd90a9b7d15f3e4f5b2
Author: lash <dev@holbrook.no>
Date:   Wed, 23 Feb 2022 12:08:46 +0000

Add configuration override detail in options

Diffstat:
Mchainlib/cli/man.py | 6+++++-
Mscripts/chainlib-man.py | 1-
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/chainlib/cli/man.py b/chainlib/cli/man.py @@ -96,7 +96,11 @@ class DocGenerator: ks = list(self.docs.keys()) ks.sort() for k in ks: - s += str(self.docs[k]) + "\n" + s += str(self.docs[k]) + env = self.envs.get(k) + if env != None: + s += ' Overrides the \\fI' + env + '\\fP configuration setting.' + s += "\n" return s diff --git a/scripts/chainlib-man.py b/scripts/chainlib-man.py @@ -60,7 +60,6 @@ The source code of the tool this documentation describes is licensed under the G .SH COPYRIGHT -.P Louis Holbrook <dev@holbrook.no> (https://holbrook.no) PGP: 59A844A484AC11253D3A3E9DCDCBD24DD1D0E001