+### check for incompatible command line options\r
+# you can't mix '-t', '-b' and '-l'\r
+# -b/-l take preference over -t, and -b takes preference over -l\r
+if ($Options{'b'} or $Options{'l'}) {\r
+ if ($Options{'t'}) {\r
+ # drop -t\r
+ warn ("$MySelf: W: You cannot combine thresholds (-t) and top lists (-b) or levels (-l). Threshold '-t $Options{'t'}' was ignored.\n");\r
+ undef($Options{'t'});\r
+ };\r
+ if ($Options{'b'} and $Options{'l'}) {\r
+ # drop -l\r
+ warn ("$MySelf: W: You cannot combine top lists (-b) and levels (-l). Level '-l $Options{'l'}' was ignored.\n");\r
+ undef($Options{'l'});\r
+ };\r
+ # -q/-d don't work with -b or -l\r
+ warn ("$MySelf: W: Sorting by number of postings (-q) ignored due to top list mode (-b) / levels (-l).\n") if $Options{'q'};\r
+ warn ("$MySelf: W: Reverse sorting (-d) ignored due to top list mode (-b) / levels (-l).\n") if $Options{'d'};\r
+};\r
+\r
+### check output type\r
+# default output type to 'dump'\r