| 586 | } |
| 587 | |
| 588 | static bool opt_show_level(char *buf, size_t len, const enum log_level *level) |
| 589 | { |
| 590 | if (*level == LOG_LEVEL_MAX + 1) |
| 591 | strncpy(buf, "none", len); |
| 592 | else |
| 593 | strncpy(buf, log_level_name(*level), len); |
| 594 | return true; |
| 595 | } |
| 596 | |
| 597 | /* The standard opt_log_stderr_exit exits with status 1 */ |
| 598 | static void opt_log_stderr_exit_usage(const char *fmt, ...) |
nothing calls this directly
no test coverage detected