From f88fbf413d0a8fd1c9bcbf19f1b09e6733975ad6 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Thu, 14 Nov 2024 16:50:09 +0100 Subject: [PATCH] input/cmd: increase the command length for --input-cmdlist --input-cmdlist crops playlist-next-playlist, playlist-prev-playlist, write-watch-later-config and delete-watch-later-config, so increase the string length to that of the longest command. Also stop specifying both the minimum and maximum length since they are the same. --- input/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/cmd.c b/input/cmd.c index 6a6d4e63e8dd3..5831edc5e0078 100644 --- a/input/cmd.c +++ b/input/cmd.c @@ -626,7 +626,7 @@ void mp_print_cmd_list(struct mp_log *out) { for (int i = 0; mp_cmds[i].name; i++) { const struct mp_cmd_def *def = &mp_cmds[i]; - mp_info(out, "%-20.20s", def->name); + mp_info(out, "%-25s", def->name); for (int j = 0; j < MP_CMD_DEF_MAX_ARGS && def->args[j].type; j++) { const struct m_option *arg = &def->args[j]; bool is_opt = arg->defval || (arg->flags & MP_CMD_OPT_ARG);