mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
Size is -l not -s.
This commit is contained in:
parent
ec3a764c76
commit
2be75a0129
@ -1,4 +1,4 @@
|
|||||||
/* $Id: cmd-join-pane.c,v 1.6 2011-01-07 14:45:34 tcunha Exp $ */
|
/* $Id: cmd-join-pane.c,v 1.7 2011-01-23 15:47:31 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -88,8 +88,8 @@ cmd_join_pane_exec(struct cmd *self, struct cmd_ctx *ctx)
|
|||||||
type = LAYOUT_LEFTRIGHT;
|
type = LAYOUT_LEFTRIGHT;
|
||||||
|
|
||||||
size = -1;
|
size = -1;
|
||||||
if (args_has(args, 's')) {
|
if (args_has(args, 'l')) {
|
||||||
size = args_strtonum(args, 's', 0, INT_MAX, &cause);
|
size = args_strtonum(args, 'l', 0, INT_MAX, &cause);
|
||||||
if (cause != NULL) {
|
if (cause != NULL) {
|
||||||
ctx->error(ctx, "size %s", cause);
|
ctx->error(ctx, "size %s", cause);
|
||||||
xfree(cause);
|
xfree(cause);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user