summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-string.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2016-10-14 22:14:22 +0000
committernicm <nicm@openbsd.org>2016-10-14 22:14:22 +0000
commit7a61a8dd0e21c37e5cbe8b3ee029ee788919f578 (patch)
treedb4c068a2c34734e900a223adcb4c75ecef7891a /usr.bin/tmux/cmd-string.c
parentDon't make assumptions about line wrap on !xenl terminals, means that (diff)
downloadwireguard-openbsd-7a61a8dd0e21c37e5cbe8b3ee029ee788919f578.tar.xz
wireguard-openbsd-7a61a8dd0e21c37e5cbe8b3ee029ee788919f578.zip
Add CMD_AFTERHOOK flag to the easy commands that don't need any special handling.
Diffstat (limited to 'usr.bin/tmux/cmd-string.c')
-rw-r--r--usr.bin/tmux/cmd-string.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-string.c b/usr.bin/tmux/cmd-string.c
index 7876d5d740b..bfed0d44ed1 100644
--- a/usr.bin/tmux/cmd-string.c
+++ b/usr.bin/tmux/cmd-string.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-string.c,v 1.23 2016/10/10 21:51:39 nicm Exp $ */
+/* $OpenBSD: cmd-string.c,v 1.24 2016/10/14 22:14:22 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -133,7 +133,8 @@ cmd_string_parse(const char *s, struct cmd_list **cmdlist, const char *file,
if (argc == 0)
goto out;
- *cmdlist = cmd_list_parse(argc, argv, file, line, cause);
+ *cmdlist = cmd_list_parse(argc, argv, file, line,
+ cause);
if (*cmdlist == NULL)
goto out;