From f72f21951cf7b63bd2c0399447d6d37f1b32b411 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Fri, 31 Dec 2010 01:59:47 +0000 Subject: [PATCH] Sync OpenBSD patchset 816: Remove some unused defines. --- cmd-capture-pane.c | 4 ++-- tmux.h | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/cmd-capture-pane.c b/cmd-capture-pane.c index fc991cbf..f894f24f 100644 --- a/cmd-capture-pane.c +++ b/cmd-capture-pane.c @@ -1,4 +1,4 @@ -/* $Id: cmd-capture-pane.c,v 1.4 2010-12-30 22:39:49 tcunha Exp $ */ +/* $Id: cmd-capture-pane.c,v 1.5 2010-12-31 01:59:47 tcunha Exp $ */ /* * Copyright (c) 2009 Jonathan Alvarado @@ -40,7 +40,7 @@ struct cmd_capture_pane_data { const struct cmd_entry cmd_capture_pane_entry = { "capture-pane", "capturep", - CMD_BUFFER_PANE_USAGE, + "[-b buffer-index] [-t target-pane]", 0, "", cmd_capture_pane_init, cmd_capture_pane_parse, diff --git a/tmux.h b/tmux.h index 7d0c324c..dc843a10 100644 --- a/tmux.h +++ b/tmux.h @@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.594 2010-12-30 22:39:49 tcunha Exp $ */ +/* $Id: tmux.h,v 1.595 2010-12-31 01:59:47 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1597,9 +1597,6 @@ void cmd_srcdst_init(struct cmd *, int); int cmd_srcdst_parse(struct cmd *, int, char **, char **); void cmd_srcdst_free(struct cmd *); size_t cmd_srcdst_print(struct cmd *, char *, size_t); -#define CMD_BUFFER_PANE_USAGE "[-b buffer-index] [-t target-pane]" -#define CMD_BUFFER_WINDOW_USAGE "[-b buffer-index] [-t target-window]" -#define CMD_BUFFER_CLIENT_USAGE "[-b buffer-index] [-t target-client]" #define CMD_BUFFER_USAGE "[-b buffer-index]" void cmd_buffer_init(struct cmd *, int); int cmd_buffer_parse(struct cmd *, int, char **, char **);