| 3633 | } |
| 3634 | |
| 3635 | static int opt_width(void *optctx, const char *opt, const char *arg) |
| 3636 | { |
| 3637 | double num; |
| 3638 | int ret = parse_number(opt, arg, OPT_TYPE_INT64, 1, INT_MAX, &num); |
| 3639 | if (ret < 0) |
| 3640 | return ret; |
| 3641 | |
| 3642 | screen_width = num; |
| 3643 | return 0; |
| 3644 | } |
| 3645 | |
| 3646 | static int opt_height(void *optctx, const char *opt, const char *arg) |
| 3647 | { |
nothing calls this directly
no test coverage detected