diff options
author | 2009-06-03 15:58:40 +0000 | |
---|---|---|
committer | 2009-06-03 15:58:40 +0000 | |
commit | 04ab4bf5c7d6a1174d73a83d809b176fbf221c75 (patch) | |
tree | 95decbd70d92fa7106df7e3f3b7d8b732a1d4933 | |
parent | Adapt for putenv and unsetenv changes. (diff) | |
download | wireguard-openbsd-04ab4bf5c7d6a1174d73a83d809b176fbf221c75.tar.xz wireguard-openbsd-04ab4bf5c7d6a1174d73a83d809b176fbf221c75.zip |
Add missing documentation for the -a flag used to move to next/previous window
with alert.
-rw-r--r-- | usr.bin/tmux/cmd-next-window.c | 4 | ||||
-rw-r--r-- | usr.bin/tmux/cmd-previous-window.c | 4 | ||||
-rw-r--r-- | usr.bin/tmux/tmux.1 | 10 |
3 files changed, 13 insertions, 5 deletions
diff --git a/usr.bin/tmux/cmd-next-window.c b/usr.bin/tmux/cmd-next-window.c index c938a8f7cff..569d3a1c574 100644 --- a/usr.bin/tmux/cmd-next-window.c +++ b/usr.bin/tmux/cmd-next-window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-next-window.c,v 1.1 2009/06/01 22:58:49 nicm Exp $ */ +/* $OpenBSD: cmd-next-window.c,v 1.2 2009/06/03 15:58:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -29,7 +29,7 @@ int cmd_next_window_exec(struct cmd *, struct cmd_ctx *); const struct cmd_entry cmd_next_window_entry = { "next-window", "next", - CMD_TARGET_SESSION_USAGE, + "[-a] " CMD_TARGET_SESSION_USAGE, CMD_AFLAG, cmd_next_window_init, cmd_target_parse, diff --git a/usr.bin/tmux/cmd-previous-window.c b/usr.bin/tmux/cmd-previous-window.c index b477b140deb..4d4fc72657a 100644 --- a/usr.bin/tmux/cmd-previous-window.c +++ b/usr.bin/tmux/cmd-previous-window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-previous-window.c,v 1.1 2009/06/01 22:58:49 nicm Exp $ */ +/* $OpenBSD: cmd-previous-window.c,v 1.2 2009/06/03 15:58:40 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -29,7 +29,7 @@ int cmd_previous_window_exec(struct cmd *, struct cmd_ctx *); const struct cmd_entry cmd_previous_window_entry = { "previous-window", "prev", - CMD_TARGET_SESSION_USAGE, + "[-a] " CMD_TARGET_SESSION_USAGE, CMD_AFLAG, cmd_previous_window_init, cmd_target_parse, diff --git a/usr.bin/tmux/tmux.1 b/usr.bin/tmux/tmux.1 index 5574172cc5e..a4041e05431 100644 --- a/usr.bin/tmux/tmux.1 +++ b/usr.bin/tmux/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.8 2009/06/03 15:47:14 nicm Exp $ +.\" $OpenBSD: tmux.1,v 1.9 2009/06/03 15:58:40 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -799,10 +799,14 @@ start-up files. .D1 (alias: Ic nextl ) Move a window to the next layout and rearrange the panes to fit. .It Xo Ic next-window +.Op Fl a .Op Fl t Ar target-session .Xc .D1 (alias: Ic next ) Move to the next window in the session. +If +.Fl a +is used, move to the next window with a bell, activity or content alert. .It Xo Ic paste-buffer .Op Fl d .Op Fl b Ar buffer-index @@ -811,10 +815,14 @@ Move to the next window in the session. .D1 (alias: Ic pasteb ) Insert the contents of a paste buffer into the current window. .It Xo Ic previous-window +.Op Fl a .Op Fl t Ar target-session .Xc .D1 (alias: Ic prev ) Move to the previous window in the session. +With +.Fl a , +move to the previous window with a bell, activity or content alert. .It Xo Ic refresh-client .Op Fl t Ar target-client .Xc |