Skip to content

Commit 2ac05a5

Browse files
committed
Default foreground color and filter duplicate conn.log
1 parent a2ca550 commit 2ac05a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zeek-term.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545

4646
# Argument parsing
4747
parser = argparse.ArgumentParser(description='Process Zeek log files with colored output.')
48-
parser.add_argument('-f', '--foreground', action='store_true', help='Use foreground colors')
48+
parser.add_argument('-f', '--foreground', action='store_true', default=True, help='Use foreground colors')
4949
parser.add_argument('-d', '--directory', type=str, required=True, help='Zeek log directory')
50-
parser.add_argument('-c', '--filter-conn', action='store_true', help='Filter conn.log by UID')
50+
parser.add_argument('-c', '--filter-conn', action='store_true', default=True,help='Filter conn.log by UID')
5151
parser.add_argument('-n', '--no-ts-conversion', action='store_true', help='Disable timestamp conversion')
5252
parser.add_argument('-t', '--timezone', type=str, default='UTC+2', help='Timezone (e.g. UTC+2)')
5353

0 commit comments

Comments
 (0)