diff --git a/aosstower/level_00/legacy_db_insert.py b/aosstower/level_00/legacy_db_insert.py index 06218ba88dc23bd4bf576b30eb38eb3406d40272..d4f37db5bbfc18268d2c352490f14dc8e7d4f87c 100644 --- a/aosstower/level_00/legacy_db_insert.py +++ b/aosstower/level_00/legacy_db_insert.py @@ -46,6 +46,8 @@ def main(): help='logging level', choices=(['trace', 'debug', 'info', 'warn', 'error'])) parser.add_argument('--logfn', help='Log to rotating file') + parser.add_argument('--debug', action='store_true', + help='Don\'t submit records to the database, print them to stdout') parser.add_argument('-s', '--station', dest='station', default='RIG Tower', help='Name of station to use to determine symbols') parser.add_argument('--ldmp', action='store_true',