artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad8616e
)
Need to flatten arguments for aliases.
author
nicm
<nicm@openbsd.org>
Wed, 18 Aug 2021 15:16:33 +0000
(15:16 +0000)
committer
nicm
<nicm@openbsd.org>
Wed, 18 Aug 2021 15:16:33 +0000
(15:16 +0000)
usr.bin/tmux/cmd-parse.y
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/cmd-parse.y
b/usr.bin/tmux/cmd-parse.y
index
5703a14
..
09b46b2
100644
(file)
--- a/
usr.bin/tmux/cmd-parse.y
+++ b/
usr.bin/tmux/cmd-parse.y
@@
-1,4
+1,4
@@
-/* $OpenBSD: cmd-parse.y,v 1.3
3 2021/08/18 10:15:08
nicm Exp $ */
+/* $OpenBSD: cmd-parse.y,v 1.3
4 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]);