| 343 | } |
| 344 | |
| 345 | int parseopt_column_callback(const struct option *opt, |
| 346 | const char *arg, int unset) |
| 347 | { |
| 348 | unsigned int *colopts = opt->value; |
| 349 | *colopts |= COL_PARSEOPT; |
| 350 | *colopts &= ~COL_ENABLE_MASK; |
| 351 | if (unset) /* --no-column == never */ |
| 352 | return 0; |
| 353 | /* --column == always unless "arg" states otherwise */ |
| 354 | *colopts |= COL_ENABLED; |
| 355 | if (arg) |
| 356 | return parse_config(colopts, arg); |
| 357 | |
| 358 | return 0; |
| 359 | } |
| 360 | |
| 361 | static int fd_out = -1; |
| 362 | static struct child_process column_process = CHILD_PROCESS_INIT; |
nothing calls this directly
no test coverage detected