Skip to content

Commit 4ea1e32

Browse files
committed
Clarify that file filters are apply to the full path of the file.
1 parent 4114a9d commit 4ea1e32

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

README

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,13 +188,13 @@ options:
188188
Show filename extensions only.
189189

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

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

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

199199
--user-image-dir DIRECTORY
200200
Directory containing .jpg or .png images of users

data/gource.1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,13 +155,13 @@ Duration to keep filenames on screen (>= 2.0).
155155
Show filename extensions only.
156156
.TP
157157
\fB\-\-file\-filter REGEX\fR
158-
Filter out any files matching a specified regular expression.
158+
Filter out file paths matching the specified regular expression.
159159
.TP
160160
\fB\-\-file\-show\-filter REGEX\fR
161-
Show only files matching this regular expression.
161+
Show only file paths matching the specified regular expression.
162162
.TP
163163
\fB\-\-user\-filter REGEX\fR
164-
Filter out any usernames matching a specified regular expression.
164+
Filter usernames matching the specified regular expression.
165165
.TP
166166
\fB\-\-user\-image\-dir DIRECTORY\fR
167167
Directory containing .jpg or .png images of users (eg 'Full Name.png') to use as avatars.

src/gource_settings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ if(extended_help) {
130130
printf(" --transparent Make the background transparent\n\n");
131131

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

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

0 commit comments

Comments
 (0)