Work out the default command from the queue in case it has been set from

the config file, GitHub issue 4791.
This commit is contained in:
nicm
2026-01-07 08:16:20 +00:00
parent f6c9052082
commit 583f12ea71
3 changed files with 29 additions and 13 deletions

View File

@@ -749,7 +749,7 @@ options_get_number(struct options *oo, const char *name)
return (o->value.number);
}
const struct cmd_list *
struct cmd_list *
options_get_command(struct options *oo, const char *name)
{
struct options_entry *o;