mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-16 16:41:35 +02:00
Instead of combined flags for -c, -s, -t, split into different sets
using an enum and simplify the parsing code.
This commit is contained in:
@ -42,7 +42,9 @@ const struct cmd_entry cmd_run_shell_entry = {
|
||||
.args = { "bt:", 1, 1 },
|
||||
.usage = "[-b] " CMD_TARGET_PANE_USAGE " shell-command",
|
||||
|
||||
.flags = CMD_PANE_T|CMD_CANFAIL,
|
||||
.tflag = CMD_PANE_CANFAIL,
|
||||
|
||||
.flags = 0,
|
||||
.exec = cmd_run_shell_exec
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user