From 999a9e3b887e4b358742e12b9ad7fc8ed0e093a7 Mon Sep 17 00:00:00 2001 From: Jake Wharton Date: Wed, 12 Jun 2013 10:21:07 -0700 Subject: [PATCH] De-dup is not an option... --- pidcat.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pidcat.py b/pidcat.py index 4248c1e..50d8f6b 100755 --- a/pidcat.py +++ b/pidcat.py @@ -32,7 +32,6 @@ import struct parser = argparse.ArgumentParser(description='Filter logcat by package name') parser.add_argument('package', help='Application package name') parser.add_argument('--tag-width', metavar='N', dest='tag_width', type=int, default=22, help='Width of log tag') -parser.add_argument('--tag-dedup', dest='tag_dedup', action='store_true', default=False, help='De-deuplicate log tags') args = parser.parse_args() @@ -178,7 +177,7 @@ while True: # right-align tag title and allocate color if needed tag = tag.strip() - if tag != last_tag or not args.tag_dedup: + if tag != last_tag: last_tag = tag color = allocate_color(tag) tag = tag[-args.tag_width:].rjust(args.tag_width)