summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2011-01-23 15:46:50 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2011-01-23 15:46:50 +0000
commit6a50519236c496c08901fa8378797522c44dec87 (patch)
treef6450ecaf37ffff55f1ba5b6af4d786c45f2e49f /usr.bin/tmux
parent9a710ebaf9724b2fb0027d8f0927004da0f5ab46 (diff)
Size is -l not -s.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/cmd-join-pane.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-join-pane.c b/usr.bin/tmux/cmd-join-pane.c
index 021c7d1a24f..ef090269efc 100644
--- a/usr.bin/tmux/cmd-join-pane.c
+++ b/usr.bin/tmux/cmd-join-pane.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-join-pane.c,v 1.5 2011/01/04 00:42:46 nicm Exp $ */
+/* $OpenBSD: cmd-join-pane.c,v 1.6 2011/01/23 15:46:49 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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);