Closed linuxcaffe closed 3 years ago
what about extending "-f" with an optional [pattern], instead of -M ?
That might leave "-M" to mean /exclude/ matching items.
better mnemonics, better symmetry
that would make it
-f ['regex'] show only files [of 'regex' type]
-F ['regex'] hide all files [of 'regex' type]
-m 'regex' show only annotations matching 'regex'
-M 'regex' hide all annotations matching 'regex'
-M as in Match type (formerly -t as in type)
taskopen -M [filter1 filter2 filterN] [\label]
Only open files whose file type (as returned by 'file') matches the given regular expression. Note, that applying -M implicitly excludes URIs and everything else that is not a file.
maybe ;-)
see: #17 and #37