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