| 998 | } |
| 999 | |
| 1000 | static int and_callback(const struct option *opt, const char *arg, int unset) |
| 1001 | { |
| 1002 | struct grep_opt *grep_opt = opt->value; |
| 1003 | BUG_ON_OPT_NEG(unset); |
| 1004 | BUG_ON_OPT_ARG(arg); |
| 1005 | append_grep_pattern(grep_opt, "--and", "command line", 0, GREP_AND); |
| 1006 | return 0; |
| 1007 | } |
| 1008 | |
| 1009 | static int open_callback(const struct option *opt, const char *arg, int unset) |
| 1010 | { |
nothing calls this directly
no test coverage detected