summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/arguments.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2021-09-09 13:38:33 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2021-09-09 13:38:33 +0000
commitf06d76807a657383a49593a241872b9e9ea60cae (patch)
tree5a829463e3edfee50fe25a1f4cfb6caf55455fc1 /usr.bin/tmux/arguments.c
parentbdc828fc3dde657136755f7cf9177194c6a2da9b (diff)
Expand argument to run-shell again.
Diffstat (limited to 'usr.bin/tmux/arguments.c')
-rw-r--r--usr.bin/tmux/arguments.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/tmux/arguments.c b/usr.bin/tmux/arguments.c
index 226617014f4..1b5ec3dee10 100644
--- a/usr.bin/tmux/arguments.c
+++ b/usr.bin/tmux/arguments.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arguments.c,v 1.49 2021/09/02 07:11:03 nicm Exp $ */
+/* $OpenBSD: arguments.c,v 1.50 2021/09/09 13:38:32 nicm Exp $ */
/*
* Copyright (c) 2010 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -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);