Skip to content

Commit

Permalink
Clarify that file filters are apply to the full path of the file.
Browse files Browse the repository at this point in the history
  • Loading branch information
acaudwell committed Feb 13, 2018
1 parent 4114a9d commit 4ea1e32
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -188,13 +188,13 @@ options:
Show filename extensions only.

--file-filter REGEX
Filter out any files matching a specified regular expression.
Filter out file paths matching the specified regular expression.

--file-show-filter REGEX
Show only files matching this regular expression.
Show only file paths matching the specified regular expression.

--user-filter REGEX
Filter out any users matching a specified regular expression.
Filter usernames matching the specified regular expression.

--user-image-dir DIRECTORY
Directory containing .jpg or .png images of users
Expand Down
6 changes: 3 additions & 3 deletions data/gource.1
Original file line number Diff line number Diff line change
Expand Up @@ -155,13 +155,13 @@ Duration to keep filenames on screen (>= 2.0).
Show filename extensions only.
.TP
\fB\-\-file\-filter REGEX\fR
Filter out any files matching a specified regular expression.
Filter out file paths matching the specified regular expression.
.TP
\fB\-\-file\-show\-filter REGEX\fR
Show only files matching this regular expression.
Show only file paths matching the specified regular expression.
.TP
\fB\-\-user\-filter REGEX\fR
Filter out any usernames matching a specified regular expression.
Filter usernames matching the specified regular expression.
.TP
\fB\-\-user\-image\-dir DIRECTORY\fR
Directory containing .jpg or .png images of users (eg 'Full Name.png') to use as avatars.
Expand Down
4 changes: 2 additions & 2 deletions src/gource_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ if(extended_help) {
printf(" --transparent Make the background transparent\n\n");

printf(" --user-filter REGEX Ignore usernames matching this regex\n");
printf(" --file-filter REGEX Ignore files matching this regex\n");
printf(" --file-show-filter REGEX Show only files matching this regex\n\n");
printf(" --file-filter REGEX Ignore file paths matching this regex\n");
printf(" --file-show-filter REGEX Show only file paths matching this regex\n\n");

printf(" --user-friction SECONDS Change the rate users slow down (default: 0.67)\n");
printf(" --user-scale SCALE Change scale of users (default: 1.0)\n");
Expand Down

0 comments on commit 4ea1e32

Please sign in to comment.