From 34312fd6ee8992ce8d13ec63b074466d5f624acc Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 9 Sep 2021 13:38:32 +0000 Subject: Expand argument to run-shell again. --- arguments.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'arguments.c') diff --git a/arguments.c b/arguments.c index 20d5e7ba..1555c2f0 100644 --- a/arguments.c +++ b/arguments.c @@ -651,13 +651,14 @@ args_string(struct args *args, u_int idx) /* Make a command now. */ struct cmd_list * -args_make_commands_now(struct cmd *self, struct cmdq_item *item, u_int idx) +args_make_commands_now(struct cmd *self, struct cmdq_item *item, u_int idx, + int expand) { struct args_command_state *state; char *error; struct cmd_list *cmdlist; - state = args_make_commands_prepare(self, item, idx, NULL, 0, 0); + state = args_make_commands_prepare(self, item, idx, NULL, 0, expand); cmdlist = args_make_commands(state, 0, NULL, &error); if (cmdlist == NULL) { cmdq_error(item, "%s", error); -- cgit