projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
filter: Print meaningful error message if no filter options are given.
[paraslash.git]
/
filter.c
diff --git
a/filter.c
b/filter.c
index
8ebceb4
..
bf428b3
100644
(file)
--- a/
filter.c
+++ b/
filter.c
@@
-87,6
+87,8
@@
static int parse_config(int argc, char *argv[])
if (filter_cmdline_parser_config_file(cf, &conf, ¶ms))
return -E_FILTER_SYNTAX;
}
+ if (!conf.filter_given)
+ return -E_NO_FILTERS;
return 1;
}