diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-12-13 23:46:58 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-12-13 23:46:58 +0000 |
commit | 5caec3020d32596f3ecf3dea68639da18690992d (patch) | |
tree | da0cde36d73215aa603d1897279aa9431f403d06 /cmd-run-shell.c | |
parent | f4adcfa0e2f4451616738a8c65f9eef2855fc757 (diff) | |
parent | ecfeee2e8255a77f82a07124c93c8dbc7683c421 (diff) | |
download | rtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.gz rtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.bz2 rtmux-5caec3020d32596f3ecf3dea68639da18690992d.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-run-shell.c')
-rw-r--r-- | cmd-run-shell.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/cmd-run-shell.c b/cmd-run-shell.c index 0dae39ac..d84c3899 100644 --- a/cmd-run-shell.c +++ b/cmd-run-shell.c @@ -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 { |