From 96ffdccb51cc3a528563e28f2ce09050e84ef22b Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 11 Mar 2010 04:30:05 +0000 Subject: Cleanup svn path=/myrpki.rototill/examples/children.csv; revision=3075 --- myrpki.rototill/myrpki.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'myrpki.rototill/myrpki.py') diff --git a/myrpki.rototill/myrpki.py b/myrpki.rototill/myrpki.py index 7d039e89..cabdc4ef 100644 --- a/myrpki.rototill/myrpki.py +++ b/myrpki.rototill/myrpki.py @@ -781,6 +781,16 @@ class main(rpki.cli.Cmd): rpki.cli.Cmd.__init__(self, argv) + def help_overview(self): + """ + Show program __doc__ string. Perhaps there's some clever way to + do this using the textwrap module, but for now something simple + and crude will suffice. + """ + for line in __doc__.splitlines(True): + self.stdout.write(" " * 4 + line) + self.stdout.write("\n") + def read_config(self): self.cfg = rpki.config.parser(self.cfg_file, "myrpki") -- cgit v1.2.3