diff --git a/devices/statistics_writer/statistics_writer.py b/devices/statistics_writer/statistics_writer.py index 8103cff39102614cd7f141fc2c12305e1a43e903..fba1d8e515156e487aa6c5e3bc4eca1c6b2e01f0 100644 --- a/devices/statistics_writer/statistics_writer.py +++ b/devices/statistics_writer/statistics_writer.py @@ -12,6 +12,7 @@ import logging logging.basicConfig(level=logging.INFO) logger = logging.getLogger("statistics_writer") + parser = argparse.ArgumentParser(description='Converts a stream of statistics packets into HDF5 files.') parser.add_argument('-a', '--host', type=str, help='The host to connect to.') parser.add_argument('-p', '--port', type=int, default=0, help='The port to connect to, or 0 to use default port for the selected mode. (default: %(default)s)')