From 9ef8899e70c6956712a39a595bf06d3de446cbe4 Mon Sep 17 00:00:00 2001 From: jbukhari Date: Wed, 26 Jun 2024 15:41:53 -0400 Subject: [PATCH] set default --limit --- batch_edits/scripts/batch_edit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/batch_edits/scripts/batch_edit.py b/batch_edits/scripts/batch_edit.py index 09fc666..4cbb82c 100644 --- a/batch_edits/scripts/batch_edit.py +++ b/batch_edits/scripts/batch_edit.py @@ -14,7 +14,7 @@ def get_args(): parser.add_argument('--database', help='The database name') parser.add_argument('--query', help='JSON MDB query document') parser.add_argument('--querystring', help='DLX query string') - parser.add_argument('--limit', type=int, help='limit the number of records processed') + parser.add_argument('--limit', type=int, default=0, help='limit the number of records processed') parser.add_argument('--output', required=True, choices=['db', 'mrk'], help='') parser.add_argument('--output_file', help='File to write output to if output is mrk') parser.add_argument('--skip_confirm', action='store_true', help='')