| 989 | } |
| 990 | |
| 991 | static int not_callback(const struct option *opt, const char *arg, int unset) |
| 992 | { |
| 993 | struct grep_opt *grep_opt = opt->value; |
| 994 | BUG_ON_OPT_NEG(unset); |
| 995 | BUG_ON_OPT_ARG(arg); |
| 996 | append_grep_pattern(grep_opt, "--not", "command line", 0, GREP_NOT); |
| 997 | return 0; |
| 998 | } |
| 999 | |
| 1000 | static int and_callback(const struct option *opt, const char *arg, int unset) |
| 1001 | { |
nothing calls this directly
no test coverage detected