]> git.tuebingen.mpg.de Git - adu.git/blobdiff - select.ggo
Implement pattern matching for select mode.
[adu.git] / select.ggo
index 6384c39f3cd97f3ad63347d4d16aecaac3746dad..99ed13370180c3abff5bed37f3f7380f06c18ad4 100644 (file)
@@ -47,6 +47,28 @@ details="
        except global_summary (which outputs only one single line).
 "
 
+option "pattern" p
+#~~~~~~~~~~~~~~~~~
+"only consider matching directories"
+string typestr="regex"
+optional
+details="
+       Regular expression that must match the directory name for
+       the directory to be considered for the output of the query.
+       See regex(7) for details.
+
+       Depending on whether --print-base-dir is given, the absolute
+       directory name or only the part of the directory name below
+       the base directory is matched against \"regex\".
+
+       If this option is not given (the default) all directories
+       are taken into account.
+
+       If \"regex\" starts with '!', directories are matched against
+       the remaining part of \"regex\" and the sense of matching is
+       reversed.
+"
+
 option "header" H
 #~~~~~~~~~~~~~~~~
 "use a customized header for listings/summaries"