Add missing documentation for the -a flag used to move to next/previous window

with alert.
This commit is contained in:
Nicholas Marriott 2009-06-03 15:58:40 +00:00
parent e659aa86b9
commit 41d985ace3
3 changed files with 10 additions and 2 deletions

View File

@ -29,7 +29,7 @@ int cmd_next_window_exec(struct cmd *, struct cmd_ctx *);
const struct cmd_entry cmd_next_window_entry = { const struct cmd_entry cmd_next_window_entry = {
"next-window", "next", "next-window", "next",
CMD_TARGET_SESSION_USAGE, "[-a] " CMD_TARGET_SESSION_USAGE,
CMD_AFLAG, CMD_AFLAG,
cmd_next_window_init, cmd_next_window_init,
cmd_target_parse, cmd_target_parse,

View File

@ -29,7 +29,7 @@ int cmd_previous_window_exec(struct cmd *, struct cmd_ctx *);
const struct cmd_entry cmd_previous_window_entry = { const struct cmd_entry cmd_previous_window_entry = {
"previous-window", "prev", "previous-window", "prev",
CMD_TARGET_SESSION_USAGE, "[-a] " CMD_TARGET_SESSION_USAGE,
CMD_AFLAG, CMD_AFLAG,
cmd_previous_window_init, cmd_previous_window_init,
cmd_target_parse, cmd_target_parse,

8
tmux.1
View File

@ -799,10 +799,14 @@ start-up files.
.D1 (alias: Ic nextl ) .D1 (alias: Ic nextl )
Move a window to the next layout and rearrange the panes to fit. Move a window to the next layout and rearrange the panes to fit.
.It Xo Ic next-window .It Xo Ic next-window
.Op Fl a
.Op Fl t Ar target-session .Op Fl t Ar target-session
.Xc .Xc
.D1 (alias: Ic next ) .D1 (alias: Ic next )
Move to the next window in the session. 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 .It Xo Ic paste-buffer
.Op Fl d .Op Fl d
.Op Fl b Ar buffer-index .Op Fl b Ar buffer-index
@ -811,10 +815,14 @@ Move to the next window in the session.
.D1 (alias: Ic pasteb ) .D1 (alias: Ic pasteb )
Insert the contents of a paste buffer into the current window. Insert the contents of a paste buffer into the current window.
.It Xo Ic previous-window .It Xo Ic previous-window
.Op Fl a
.Op Fl t Ar target-session .Op Fl t Ar target-session
.Xc .Xc
.D1 (alias: Ic prev ) .D1 (alias: Ic prev )
Move to the previous window in the session. 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 .It Xo Ic refresh-client
.Op Fl t Ar target-client .Op Fl t Ar target-client
.Xc .Xc