summaryrefslogtreecommitdiffstats
path: root/cmd-parse.y
diff options
context:
space:
mode:
authornicm <nicm>2021-08-18 15:16:33 +0000
committernicm <nicm>2021-08-18 15:16:33 +0000
commit5413a73ded8ee34e4565036c296c11b5e508ded5 (patch)
tree8270febae38910fef891bb89c73321d6732ca6fa /cmd-parse.y
parent82836c739441d9bf33815b330a2c4cfe71d4616d (diff)
Need to flatten arguments for aliases.
Diffstat (limited to 'cmd-parse.y')
-rw-r--r--cmd-parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-parse.y b/cmd-parse.y
index 0388bd6d..9211c436 100644
--- a/cmd-parse.y
+++ b/cmd-parse.y
@@ -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]);