|
|
@@ -45,6 +45,8 @@ def setup(self, sub): |
|
|
|
help="Show raw timestamps when printing times") |
|
|
|
group.add_argument("-l", "--layout", action="store_true", |
|
|
|
help="Show layout type next to path name") |
|
|
|
group.add_argument("-n", "--no-decim", action="store_true", |
|
|
|
help="Skip paths containing \"~decim-\"") |
|
|
|
|
|
|
|
return cmd |
|
|
|
|
|
|
@@ -71,6 +73,8 @@ def cmd_list(self): |
|
|
|
(path, layout, int_min, int_max, rows, time) = stream[:6] |
|
|
|
if not fnmatch.fnmatch(path, argpath): |
|
|
|
continue |
|
|
|
if self.args.no_decim and "~decim-" in path: |
|
|
|
continue |
|
|
|
|
|
|
|
if self.args.layout: |
|
|
|
printf("%s %s\n", path, layout) |
|
|
|