X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=bin%2Fdjbdns-logparse.py;fp=bin%2Fdjbdns-logparse.py;h=689e33bf221e703b47d26a19342c9406a0997b77;hb=ae92ef4425795f75bb0512353faf437a1da4cbc6;hp=b4074110956b807f187b56ead1b1677b11b17d37;hpb=fd1dc3e95f444cd743bd816b7d69f5e0633536f6;p=djbdns-logparse.git diff --git a/bin/djbdns-logparse.py b/bin/djbdns-logparse.py index b407411..689e33b 100755 --- a/bin/djbdns-logparse.py +++ b/bin/djbdns-logparse.py @@ -301,6 +301,12 @@ def parse_logfile(file : typing.TextIO): print(line) def main(): + r""" + The entry point to the program. + + This function is responsible only for parsing any command-line + arguments, and then calling :func`parse_logfile` on them. + """ # Create an argument parser using the file's docsctring as its # description. from argparse import ArgumentParser, FileType