From cb97032068ef2c359fcddb1fbd6f0b8ca416fd98 Mon Sep 17 00:00:00 2001 From: Julian Prein <julian@druck.dev> Date: Thu, 20 Mar 2025 23:04:46 +0100 Subject: [PATCH] Fix run-shell's maximum argument count Co-authored-by: Julian Prein <julian@druck.dev> --- cmd-run-shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd-run-shell.c b/cmd-run-shell.c index be4c7cac..4b4399c8 100644 --- a/cmd-run-shell.c +++ b/cmd-run-shell.c @@ -44,7 +44,7 @@ const struct cmd_entry cmd_run_shell_entry = { .name = "run-shell", .alias = "run", - .args = { "bd:Ct:c:", 0, 2, cmd_run_shell_args_parse }, + .args = { "bd:Ct:c:", 0, 1, cmd_run_shell_args_parse }, .usage = "[-bC] [-c start-directory] [-d delay] " CMD_TARGET_PANE_USAGE " [shell-command]",