summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-11-13 19:58:33 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-11-13 19:58:33 +0000
commitad34df2de9e44ac3750314da89620b68f339c529 (patch)
treefef38bad6190d8bc20be1e427e13ff2b74851c50 /usr.bin/tmux
parent6235585c8f9212ac5b6f7a9221de2f0bb3850b27 (diff)
Tweak a comment and add some spacing.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/cmd-generic.c4
-rw-r--r--usr.bin/tmux/tmux.h8
2 files changed, 9 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-generic.c b/usr.bin/tmux/cmd-generic.c
index e7c35ca352e..38002622e80 100644
--- a/usr.bin/tmux/cmd-generic.c
+++ b/usr.bin/tmux/cmd-generic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-generic.c,v 1.8 2009/11/13 19:53:29 nicm Exp $ */
+/* $OpenBSD: cmd-generic.c,v 1.9 2009/11/13 19:58:32 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -85,7 +85,7 @@ cmd_parse_flags(int opt, const char *chflagstr, uint64_t *chflags)
return (0);
}
-/* Print the flags supported in chflags. */
+/* Print the flags present in chflags. */
size_t
cmd_print_flags(char *buf, size_t len, size_t off, uint64_t chflags)
{
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 90c8afdbb08..bdf016115e1 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.178 2009/11/13 19:53:29 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.179 2009/11/13 19:58:32 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1162,23 +1162,29 @@ struct cmd_entry {
/* Generic command data. */
struct cmd_target_data {
uint64_t chflags;
+
char *target;
+
char *arg;
char *arg2;
};
struct cmd_srcdst_data {
uint64_t chflags;
+
char *src;
char *dst;
+
char *arg;
char *arg2;
};
struct cmd_buffer_data {
uint64_t chflags;
+
char *target;
int buffer;
+
char *arg;
char *arg2;
};