Fix kg-core-help

This commit is contained in:
Cyber MacGeddon 2024-11-26 16:54:22 +00:00
parent 887fafcf8c
commit 21807df129
3 changed files with 23 additions and 3 deletions

View file

@ -1,5 +1,11 @@
#!/usr/bin/env python3
""
This utility reads a knowledge core in msgpack format and outputs its
contents in JSON form to standard output. This is useful only as a
diagnostic utility.
"""
import msgpack
import sys
import argparse
@ -16,7 +22,7 @@ def run(input_file):
def main():
parser = argparse.ArgumentParser(
prog='tg-load-pdf',
prog='tg-dump-msgpack',
description=__doc__,
)