summaryrefslogtreecommitdiffstats
path: root/cmd-join-pane.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2011-01-23 15:46:49 +0000
committerNicholas Marriott <nicm@openbsd.org>2011-01-23 15:46:49 +0000
commit8820aa9f6511cb245dd8c735294e7a0c6fdb0870 (patch)
tree37e2eb7558d8c72149f56f67db5fd05daf8711d9 /cmd-join-pane.c
parent3872e2484741d5b7e9b7facc0d364408ee548f9e (diff)
Size is -l not -s.
Diffstat (limited to 'cmd-join-pane.c')
-rw-r--r--cmd-join-pane.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-join-pane.c b/cmd-join-pane.c
index 10b4dda3..be4335fc 100644
--- a/cmd-join-pane.c
+++ b/cmd-join-pane.c
@@ -89,8 +89,8 @@ cmd_join_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
type = LAYOUT_LEFTRIGHT;
size = -1;
- if (args_has(args, 's')) {
- size = args_strtonum(args, 's', 0, INT_MAX, &cause);
+ if (args_has(args, 'l')) {
+ size = args_strtonum(args, 'l', 0, INT_MAX, &cause);
if (cause != NULL) {
ctx->error(ctx, "size %s", cause);
xfree(cause);