summaryrefslogtreecommitdiffstats
path: root/cmd-parse.y
diff options
context:
space:
mode:
authornicm <nicm>2019-05-23 14:03:44 +0000
committernicm <nicm>2019-05-23 14:03:44 +0000
commit27bfb56ad5e19afa686ed6a99bf8b205fac98aef (patch)
tree9d7eafe33dfe96c3194bbce93d43013e3565af39 /cmd-parse.y
parent3e3eb1dd0faa707fa6bdfd12d455ad711d775241 (diff)
Break the argument escaping code into a separate function and use it to
escape key bindings in list-keys. Also escape ~ and ; and $ properly.
Diffstat (limited to 'cmd-parse.y')
-rw-r--r--cmd-parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-parse.y b/cmd-parse.y
index 8b8f33ab..e576d776 100644
--- a/cmd-parse.y
+++ b/cmd-parse.y
@@ -663,7 +663,7 @@ cmd_parse_from_file(FILE *f, struct cmd_parse_input *pi)
cmd_list_free(cmdlist);
}
- s = cmd_list_print(result);
+ s = cmd_list_print(result, 0);
log_debug("%s: %s", __func__, s);
free(s);