feat: start time for scanning
This commit is contained in:
@@ -196,9 +196,9 @@ def main():
|
||||
help='Exclude MIDs with no start timestamp in this log',
|
||||
)
|
||||
parser.add_argument(
|
||||
'--no-aborted',
|
||||
'--include-aborted',
|
||||
action='store_true',
|
||||
help='Exclude MIDs that were aborted',
|
||||
help='Include MIDs that were aborted (aborted MIDs are excluded by default)',
|
||||
)
|
||||
parser.add_argument(
|
||||
'--start',
|
||||
@@ -239,7 +239,7 @@ def main():
|
||||
continue
|
||||
if args.pending and rec['end_ts'] is not None:
|
||||
continue
|
||||
if args.no_aborted and rec['end_status'] == 'aborted':
|
||||
if not args.include_aborted and rec['end_status'] == 'aborted':
|
||||
continue
|
||||
if since_dt and (rec['start_ts'] is None or rec['start_ts'] < since_dt):
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user