diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-02-04 17:25:04 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-02-04 17:25:04 -0500 |
commit | 43b7d485d2ab9e320fd32fc47080cd60c626b530 (patch) | |
tree | 0216c757761c1ea91661119a6c80613ed43705e4 /parse.c | |
parent | ff87f3cdf1e3c5a7d4661e785f4d96be9d59291c (diff) | |
download | bfs-43b7d485d2ab9e320fd32fc47080cd60c626b530.tar.xz |
Implement -links.
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -501,6 +501,8 @@ static struct expr *parse_literal(struct parser_state *state) { return new_action(state, eval_nohidden); } else if (strcmp(arg, "-inum") == 0) { return parse_test_icmp(state, arg, eval_inum); + } else if (strcmp(arg, "-links") == 0) { + return parse_test_icmp(state, arg, eval_links); } else if (strcmp(arg, "-mindepth") == 0) { return parse_depth(state, arg, &state->cl->mindepth); } else if (strcmp(arg, "-maxdepth") == 0) { |