summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-run-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tmux/cmd-run-shell.c')
-rw-r--r--usr.bin/tmux/cmd-run-shell.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/usr.bin/tmux/cmd-run-shell.c b/usr.bin/tmux/cmd-run-shell.c
index 3d403ed4ac8..7b2119ceabc 100644
--- a/usr.bin/tmux/cmd-run-shell.c
+++ b/usr.bin/tmux/cmd-run-shell.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-run-shell.c,v 1.33 2015/12/13 14:32:38 nicm Exp $ */
+/* $OpenBSD: cmd-run-shell.c,v 1.34 2015/12/13 21:53:57 nicm Exp $ */
/*
* Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org>
@@ -36,11 +36,14 @@ void cmd_run_shell_free(void *);
void cmd_run_shell_print(struct job *, const char *);
const struct cmd_entry cmd_run_shell_entry = {
- "run-shell", "run",
- "bt:", 1, 1,
- "[-b] " CMD_TARGET_PANE_USAGE " shell-command",
- CMD_PANE_T|CMD_CANFAIL,
- cmd_run_shell_exec
+ .name = "run-shell",
+ .alias = "run",
+
+ .args = { "bt:", 1, 1 },
+ .usage = "[-b] " CMD_TARGET_PANE_USAGE " shell-command",
+
+ .flags = CMD_PANE_T|CMD_CANFAIL,
+ .exec = cmd_run_shell_exec
};
struct cmd_run_shell_data {