summaryrefslogtreecommitdiffstats
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index 2fc4fd8..154d566 100644
--- a/parse.c
+++ b/parse.c
@@ -1065,6 +1065,8 @@ static struct expr *parse_literal(struct parser_state *state) {
case 'u':
if (strcmp(arg, "-uid") == 0) {
return parse_test_icmp(state, eval_uid);
+ } else if (strcmp(arg, "-used") == 0) {
+ return parse_test_icmp(state, eval_used);
} else if (strcmp(arg, "-user") == 0) {
return parse_user(state);
}