mirror of
https://github.com/tmate-io/tmate.git
synced 2025-03-31 10:56:21 +02:00
Size is -l not -s.
This commit is contained in:
parent
3872e24847
commit
8820aa9f65
@ -89,8 +89,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…
Reference in New Issue
Block a user