| 1025 | } |
| 1026 | |
| 1027 | static int pattern_callback(const struct option *opt, const char *arg, |
| 1028 | int unset) |
| 1029 | { |
| 1030 | struct grep_opt *grep_opt = opt->value; |
| 1031 | BUG_ON_OPT_NEG(unset); |
| 1032 | append_grep_pattern(grep_opt, arg, "-e option", 0, GREP_PATTERN); |
| 1033 | return 0; |
| 1034 | } |
| 1035 | |
| 1036 | int cmd_grep(int argc, |
| 1037 | const char **argv, |
nothing calls this directly
no test coverage detected