diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2021-08-18 15:16:34 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2021-08-18 15:16:34 +0000 |
commit | d986e0034c9dd6683596f4cb2816a35effb42f2f (patch) | |
tree | 85088231a1ac6db2d05f5bbbb63afa8095e6b31b /usr.bin/tmux/cmd-parse.y | |
parent | df7d6c2290d19f2a89fdc78d41ba2603e0972e64 (diff) |
Need to flatten arguments for aliases.
Diffstat (limited to 'usr.bin/tmux/cmd-parse.y')
-rw-r--r-- | usr.bin/tmux/cmd-parse.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-parse.y b/usr.bin/tmux/cmd-parse.y index 5703a143404..09b46b229fe 100644 --- a/usr.bin/tmux/cmd-parse.y +++ b/usr.bin/tmux/cmd-parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-parse.y,v 1.33 2021/08/18 10:15:08 nicm Exp $ */ +/* $OpenBSD: cmd-parse.y,v 1.34 2021/08/18 15:16:33 nicm Exp $ */ /* * Copyright (c) 2019 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -834,6 +834,7 @@ cmd_parse_build_commands(struct cmd_parse_commands *cmds, cmd_parse_free_command(cmd); continue; } + cmd_parse_flatten_command(cmd2); for (i = 1; i < cmd->argc; i++) cmd_append_argv(&cmd2->argc, &cmd2->argv, cmd->argv[i]); |