Size is -l not -s.

pull/1/head
Nicholas Marriott 2011-01-23 15:46:49 +00:00
parent 3872e24847
commit 8820aa9f65
1 changed files with 2 additions and 2 deletions

View File

@ -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);