diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-02-10 12:12:15 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-02-10 12:12:15 +0000 |
commit | 46a0b7d88a70a071aeb79e04bc1b3519b636a356 (patch) | |
tree | 50b795f14f43eac528eed3e38de2bb170d441bba | |
parent | a4931f7ac763e87e1eefeff7256f35802f3cffa2 (diff) |
Size on split-window is -l not -s. Doh.
-rw-r--r-- | usr.bin/tmux/cmd-split-window.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-split-window.c b/usr.bin/tmux/cmd-split-window.c index 16238efa487..04ff6ad1fa4 100644 --- a/usr.bin/tmux/cmd-split-window.c +++ b/usr.bin/tmux/cmd-split-window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-split-window.c,v 1.22 2011/01/04 00:42:47 nicm Exp $ */ +/* $OpenBSD: cmd-split-window.c,v 1.23 2011/02/10 12:12:14 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -91,8 +91,8 @@ cmd_split_window_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); |