Also adds a few missing Op's. Index: cmd-bind-key.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-bind-key.c,v retrieving revision 1.46 diff -u -p -r1.46 cmd-bind-key.c --- cmd-bind-key.c 27 Aug 2021 17:25:55 -0000 1.46 +++ cmd-bind-key.c 11 Nov 2022 17:31:28 -0000 @@ -36,9 +36,8 @@ const struct cmd_entry cmd_bind_key_entr .name = "bind-key", .alias = "bind", - .args = { "nrN:T:", 1, -1, cmd_bind_key_args_parse }, - .usage = "[-nr] [-T key-table] [-N note] key " - "[command [arguments]]", + .args = { "N:nrT:", 1, -1, cmd_bind_key_args_parse }, + .usage = "[-nr] [-N note] [-T key-table] key [command [arguments]]", .flags = CMD_AFTERHOOK, .exec = cmd_bind_key_exec Index: cmd-break-pane.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-break-pane.c,v retrieving revision 1.60 diff -u -p -r1.60 cmd-break-pane.c --- cmd-break-pane.c 21 Aug 2021 10:22:38 -0000 1.60 +++ cmd-break-pane.c 11 Nov 2022 17:31:28 -0000 @@ -34,7 +34,7 @@ const struct cmd_entry cmd_break_pane_en .name = "break-pane", .alias = "breakp", - .args = { "abdPF:n:s:t:", 0, 0, NULL }, + .args = { "abdF:n:Ps:t:", 0, 0, NULL }, .usage = "[-abdP] [-F format] [-n window-name] [-s src-pane] " "[-t dst-window]", Index: cmd-capture-pane.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-capture-pane.c,v retrieving revision 1.59 diff -u -p -r1.59 cmd-capture-pane.c --- cmd-capture-pane.c 28 Sep 2022 07:55:29 -0000 1.59 +++ cmd-capture-pane.c 11 Nov 2022 17:31:28 -0000 @@ -39,8 +39,8 @@ const struct cmd_entry cmd_capture_pane_ .name = "capture-pane", .alias = "capturep", - .args = { "ab:CeE:JNpPqS:t:", 0, 0, NULL }, - .usage = "[-aCeJNpPqT] " CMD_BUFFER_USAGE " [-E end-line] " + .args = { "ab:CE:eJNPpqS:t:", 0, 0, NULL }, + .usage = "[-aCeJNPpqT] " CMD_BUFFER_USAGE " [-E end-line] " "[-S start-line] " CMD_TARGET_PANE_USAGE, .target = { 't', CMD_FIND_PANE, 0 }, Index: cmd-command-prompt.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-command-prompt.c,v retrieving revision 1.65 diff -u -p -r1.65 cmd-command-prompt.c --- cmd-command-prompt.c 30 May 2022 12:55:25 -0000 1.65 +++ cmd-command-prompt.c 11 Nov 2022 17:31:28 -0000 @@ -42,9 +42,9 @@ const struct cmd_entry cmd_command_promp .name = "command-prompt", .alias = NULL, - .args = { "1bFkiI:Np:t:T:", 0, 1, cmd_command_prompt_args_parse }, - .usage = "[-1bFkiN] [-I inputs] [-p prompts] " CMD_TARGET_CLIENT_USAGE - " [-T type] [template]", + .args = { "1bFI:ikNp:T:t:", 0, 1, cmd_command_prompt_args_parse }, + .usage = "[-1bFikN] [-I inputs] [-p prompts] [-T type] " + CMD_TARGET_CLIENT_USAGE " [template]", .flags = CMD_CLIENT_TFLAG, .exec = cmd_command_prompt_exec Index: cmd-copy-mode.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-copy-mode.c,v retrieving revision 1.47 diff -u -p -r1.47 cmd-copy-mode.c --- cmd-copy-mode.c 21 Aug 2021 10:22:38 -0000 1.47 +++ cmd-copy-mode.c 11 Nov 2022 17:31:28 -0000 @@ -30,8 +30,8 @@ const struct cmd_entry cmd_copy_mode_ent .name = "copy-mode", .alias = NULL, - .args = { "eHMs:t:uq", 0, 0, NULL }, - .usage = "[-eHMuq] [-s src-pane] " CMD_TARGET_PANE_USAGE, + .args = { "eHMqs:t:u", 0, 0, NULL }, + .usage = "[-eHMqu] [-s src-pane] " CMD_TARGET_PANE_USAGE, .source = { 's', CMD_FIND_PANE, 0 }, .target = { 't', CMD_FIND_PANE, 0 }, Index: cmd-detach-client.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-detach-client.c,v retrieving revision 1.36 diff -u -p -r1.36 cmd-detach-client.c --- cmd-detach-client.c 21 Aug 2021 10:22:38 -0000 1.36 +++ cmd-detach-client.c 11 Nov 2022 17:31:28 -0000 @@ -33,9 +33,9 @@ const struct cmd_entry cmd_detach_client .name = "detach-client", .alias = "detach", - .args = { "aE:s:t:P", 0, 0, NULL }, - .usage = "[-aP] [-E shell-command] " - "[-s target-session] " CMD_TARGET_CLIENT_USAGE, + .args = { "aE:Ps:t:", 0, 0, NULL }, + .usage = "[-aP] [-E shell-command] [-s target-session] " + CMD_TARGET_CLIENT_USAGE, .source = { 's', CMD_FIND_SESSION, CMD_FIND_CANFAIL }, Index: cmd-display-menu.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-display-menu.c,v retrieving revision 1.37 diff -u -p -r1.37 cmd-display-menu.c --- cmd-display-menu.c 25 Oct 2021 09:38:36 -0000 1.37 +++ cmd-display-menu.c 11 Nov 2022 17:31:28 -0000 @@ -39,9 +39,9 @@ const struct cmd_entry cmd_display_menu_ .name = "display-menu", .alias = "menu", - .args = { "c:t:OT:x:y:", 1, -1, cmd_display_menu_args_parse }, - .usage = "[-O] [-c target-client] " CMD_TARGET_PANE_USAGE " [-T title] " - "[-x position] [-y position] name key command ...", + .args = { "c:OT:t:x:y:", 1, -1, cmd_display_menu_args_parse }, + .usage = "[-O] [-c target-client] [-T title] " CMD_TARGET_PANE_USAGE + " [-x position] [-y position] name key command ...", .target = { 't', CMD_FIND_PANE, 0 }, @@ -53,12 +53,12 @@ const struct cmd_entry cmd_display_popup .name = "display-popup", .alias = "popup", - .args = { "Bb:Cc:d:e:Eh:s:S:t:T:w:x:y:", 0, -1, NULL }, + .args = { "Bb:Cc:d:Ee:h:S:s:T:t:w:x:y:", 0, -1, NULL }, .usage = "[-BCE] [-b border-lines] [-c target-client] " "[-d start-directory] [-e environment] [-h height] " - "[-s style] [-S border-style] " CMD_TARGET_PANE_USAGE - "[-T title] [-w width] [-x position] [-y position] " - "[shell-command]", + "[-S border-style] [-s style] [-T title] " + CMD_TARGET_PANE_USAGE " [-w width] [-x position] " + "[-y position] [shell-command]", .target = { 't', CMD_FIND_PANE, 0 }, Index: cmd-display-message.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-display-message.c,v retrieving revision 1.62 diff -u -p -r1.62 cmd-display-message.c --- cmd-display-message.c 3 Nov 2022 08:33:57 -0000 1.62 +++ cmd-display-message.c 11 Nov 2022 17:31:28 -0000 @@ -39,7 +39,7 @@ const struct cmd_entry cmd_display_messa .name = "display-message", .alias = "display", - .args = { "ac:d:lINpt:F:v", 0, 1, NULL }, + .args = { "ac:d:F:IlNpt:v", 0, 1, NULL }, .usage = "[-aIlNpv] [-c target-client] [-d delay] [-F format] " CMD_TARGET_PANE_USAGE " [message]", Index: cmd-find-window.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-find-window.c,v retrieving revision 1.54 diff -u -p -r1.54 cmd-find-window.c --- cmd-find-window.c 21 Aug 2021 20:46:43 -0000 1.54 +++ cmd-find-window.c 11 Nov 2022 17:31:28 -0000 @@ -32,7 +32,7 @@ const struct cmd_entry cmd_find_window_e .name = "find-window", .alias = "findw", - .args = { "CiNrt:TZ", 1, 1, NULL }, + .args = { "CiNrTt:Z", 1, 1, NULL }, .usage = "[-CiNrTZ] " CMD_TARGET_PANE_USAGE " match-string", .target = { 't', CMD_FIND_PANE, 0 }, Index: cmd-join-pane.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-join-pane.c,v retrieving revision 1.50 diff -u -p -r1.50 cmd-join-pane.c --- cmd-join-pane.c 7 Jun 2022 10:02:19 -0000 1.50 +++ cmd-join-pane.c 11 Nov 2022 17:31:28 -0000 @@ -36,7 +36,7 @@ const struct cmd_entry cmd_join_pane_ent .name = "join-pane", .alias = "joinp", - .args = { "bdfhvp:l:s:t:", 0, 0, NULL }, + .args = { "bdfhl:p:s:t:v", 0, 0, NULL }, .usage = "[-bdfhv] [-l size] " CMD_SRCDST_PANE_USAGE, .source = { 's', CMD_FIND_PANE, CMD_FIND_DEFAULT_MARKED }, @@ -50,7 +50,7 @@ const struct cmd_entry cmd_move_pane_ent .name = "move-pane", .alias = "movep", - .args = { "bdfhvp:l:s:t:", 0, 0, NULL }, + .args = { "bdfhl:p:s:t:v", 0, 0, NULL }, .usage = "[-bdfhv] [-l size] " CMD_SRCDST_PANE_USAGE, .source = { 's', CMD_FIND_PANE, CMD_FIND_DEFAULT_MARKED }, Index: cmd-list-panes.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-list-panes.c,v retrieving revision 1.37 diff -u -p -r1.37 cmd-list-panes.c --- cmd-list-panes.c 21 Aug 2021 10:22:39 -0000 1.37 +++ cmd-list-panes.c 11 Nov 2022 17:31:28 -0000 @@ -38,7 +38,7 @@ const struct cmd_entry cmd_list_panes_en .name = "list-panes", .alias = "lsp", - .args = { "asF:f:t:", 0, 0, NULL }, + .args = { "aF:f:st:", 0, 0, NULL }, .usage = "[-as] [-F format] [-f filter] " CMD_TARGET_WINDOW_USAGE, .target = { 't', CMD_FIND_WINDOW, 0 }, Index: cmd-list-windows.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-list-windows.c,v retrieving revision 1.48 diff -u -p -r1.48 cmd-list-windows.c --- cmd-list-windows.c 21 Aug 2021 10:22:39 -0000 1.48 +++ cmd-list-windows.c 11 Nov 2022 17:31:28 -0000 @@ -49,7 +49,7 @@ const struct cmd_entry cmd_list_windows_ .name = "list-windows", .alias = "lsw", - .args = { "F:f:at:", 0, 0, NULL }, + .args = { "aF:f:t:", 0, 0, NULL }, .usage = "[-a] [-F format] [-f filter] " CMD_TARGET_SESSION_USAGE, .target = { 't', CMD_FIND_SESSION, 0 }, Index: cmd-load-buffer.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-load-buffer.c,v retrieving revision 1.65 diff -u -p -r1.65 cmd-load-buffer.c --- cmd-load-buffer.c 9 Jun 2022 09:12:55 -0000 1.65 +++ cmd-load-buffer.c 11 Nov 2022 17:31:28 -0000 @@ -38,7 +38,7 @@ const struct cmd_entry cmd_load_buffer_e .alias = "loadb", .args = { "b:t:w", 1, 1, NULL }, - .usage = CMD_BUFFER_USAGE " " CMD_TARGET_CLIENT_USAGE " path", + .usage = "[-w] " CMD_BUFFER_USAGE " " CMD_TARGET_CLIENT_USAGE " path", .flags = CMD_AFTERHOOK|CMD_CLIENT_TFLAG|CMD_CLIENT_CANFAIL, .exec = cmd_load_buffer_exec Index: cmd-new-session.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-new-session.c,v retrieving revision 1.146 diff -u -p -r1.146 cmd-new-session.c --- cmd-new-session.c 6 Jul 2022 08:40:52 -0000 1.146 +++ cmd-new-session.c 11 Nov 2022 17:31:28 -0000 @@ -39,8 +39,8 @@ const struct cmd_entry cmd_new_session_e .name = "new-session", .alias = "new", - .args = { "Ac:dDe:EF:f:n:Ps:t:x:Xy:", 0, -1, NULL }, - .usage = "[-AdDEPX] [-c start-directory] [-e environment] [-F format] " + .args = { "Ac:DdEe:F:f:n:Ps:t:Xx:y:", 0, -1, NULL }, + .usage = "[-ADdEPX] [-c start-directory] [-e environment] [-F format] " "[-f flags] [-n window-name] [-s session-name] " CMD_TARGET_SESSION_USAGE " [-x width] [-y height] " "[shell-command]", Index: cmd-paste-buffer.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-paste-buffer.c,v retrieving revision 1.41 diff -u -p -r1.41 cmd-paste-buffer.c --- cmd-paste-buffer.c 21 Aug 2021 10:22:39 -0000 1.41 +++ cmd-paste-buffer.c 11 Nov 2022 17:31:28 -0000 @@ -34,8 +34,8 @@ const struct cmd_entry cmd_paste_buffer_ .name = "paste-buffer", .alias = "pasteb", - .args = { "db:prs:t:", 0, 0, NULL }, - .usage = "[-dpr] [-s separator] " CMD_BUFFER_USAGE " " + .args = { "b:dprs:t:", 0, 0, NULL }, + .usage = "[-dpr] " CMD_BUFFER_USAGE " [-s separator] " CMD_TARGET_PANE_USAGE, .target = { 't', CMD_FIND_PANE, 0 }, Index: cmd-refresh-client.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-refresh-client.c,v retrieving revision 1.48 diff -u -p -r1.48 cmd-refresh-client.c --- cmd-refresh-client.c 30 May 2022 12:55:25 -0000 1.48 +++ cmd-refresh-client.c 11 Nov 2022 17:31:28 -0000 @@ -34,9 +34,10 @@ const struct cmd_entry cmd_refresh_clien .name = "refresh-client", .alias = "refresh", - .args = { "A:B:cC:Df:F:l::LRSt:U", 0, 1, NULL }, - .usage = "[-cDlLRSU] [-A pane:state] [-B name:what:format] " - "[-C XxY] [-f flags] " CMD_TARGET_CLIENT_USAGE " [adjustment]", + .args = { "A:B:C:cDF:f:Ll::RSt:U", 0, 1, NULL }, + .usage = "[-cDLRSU] [-A pane:state] [-B name:what:format] [-C size] " + "[-f flags] [-l [target-pane]] " CMD_TARGET_CLIENT_USAGE + " [adjustment]", .flags = CMD_AFTERHOOK|CMD_CLIENT_TFLAG, .exec = cmd_refresh_client_exec Index: cmd-resize-pane.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-resize-pane.c,v retrieving revision 1.52 diff -u -p -r1.52 cmd-resize-pane.c --- cmd-resize-pane.c 3 Feb 2022 11:06:11 -0000 1.52 +++ cmd-resize-pane.c 11 Nov 2022 17:31:28 -0000 @@ -37,7 +37,7 @@ const struct cmd_entry cmd_resize_pane_e .alias = "resizep", .args = { "DLMRTt:Ux:y:Z", 0, 1, NULL }, - .usage = "[-DLMRTUZ] [-x width] [-y height] " CMD_TARGET_PANE_USAGE " " + .usage = "[-DLMRTUZ] " CMD_TARGET_PANE_USAGE " [-x width] [-y height] " "[adjustment]", .target = { 't', CMD_FIND_PANE, 0 }, Index: cmd-resize-window.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-resize-window.c,v retrieving revision 1.9 diff -u -p -r1.9 cmd-resize-window.c --- cmd-resize-window.c 27 Aug 2021 17:15:57 -0000 1.9 +++ cmd-resize-window.c 11 Nov 2022 17:31:28 -0000 @@ -33,8 +33,8 @@ const struct cmd_entry cmd_resize_window .name = "resize-window", .alias = "resizew", - .args = { "aADLRt:Ux:y:", 0, 1, NULL }, - .usage = "[-aADLRU] [-x width] [-y height] " CMD_TARGET_WINDOW_USAGE " " + .args = { "AaDLRt:Ux:y:", 0, 1, NULL }, + .usage = "[-AaDLRU] " CMD_TARGET_WINDOW_USAGE " [-x width] [-y height] " "[adjustment]", .target = { 't', CMD_FIND_WINDOW, 0 }, Index: cmd-run-shell.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-run-shell.c,v retrieving revision 1.84 diff -u -p -r1.84 cmd-run-shell.c --- cmd-run-shell.c 2 Jun 2022 21:19:32 -0000 1.84 +++ cmd-run-shell.c 11 Nov 2022 17:31:28 -0000 @@ -44,7 +44,7 @@ const struct cmd_entry cmd_run_shell_ent .name = "run-shell", .alias = "run", - .args = { "bd:Ct:", 0, 1, cmd_run_shell_args_parse }, + .args = { "bCd:t:", 0, 1, cmd_run_shell_args_parse }, .usage = "[-bC] [-d delay] " CMD_TARGET_PANE_USAGE " [shell-command]", .target = { 't', CMD_FIND_PANE, CMD_FIND_CANFAIL }, Index: cmd-set-buffer.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-set-buffer.c,v retrieving revision 1.34 diff -u -p -r1.34 cmd-set-buffer.c --- cmd-set-buffer.c 9 Jun 2022 09:12:55 -0000 1.34 +++ cmd-set-buffer.c 11 Nov 2022 17:31:28 -0000 @@ -33,7 +33,7 @@ const struct cmd_entry cmd_set_buffer_en .name = "set-buffer", .alias = "setb", - .args = { "ab:t:n:w", 0, 1, NULL }, + .args = { "ab:n:t:w", 0, 1, NULL }, .usage = "[-aw] " CMD_BUFFER_USAGE " [-n new-buffer-name] " CMD_TARGET_CLIENT_USAGE " data", Index: cmd-set-environment.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-set-environment.c,v retrieving revision 1.28 diff -u -p -r1.28 cmd-set-environment.c --- cmd-set-environment.c 21 Aug 2021 10:22:39 -0000 1.28 +++ cmd-set-environment.c 11 Nov 2022 17:31:28 -0000 @@ -34,8 +34,8 @@ const struct cmd_entry cmd_set_environme .name = "set-environment", .alias = "setenv", - .args = { "Fhgrt:u", 1, 2, NULL }, - .usage = "[-Fhgru] " CMD_TARGET_SESSION_USAGE " name [value]", + .args = { "Fghrt:u", 1, 2, NULL }, + .usage = "[-Fghru] " CMD_TARGET_SESSION_USAGE " name [value]", .target = { 't', CMD_FIND_SESSION, CMD_FIND_CANFAIL }, Index: cmd-set-option.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-set-option.c,v retrieving revision 1.141 diff -u -p -r1.141 cmd-set-option.c --- cmd-set-option.c 25 Aug 2021 08:51:55 -0000 1.141 +++ cmd-set-option.c 11 Nov 2022 17:31:28 -0000 @@ -36,8 +36,8 @@ const struct cmd_entry cmd_set_option_en .name = "set-option", .alias = "set", - .args = { "aFgopqst:uUw", 1, 2, cmd_set_option_args_parse }, - .usage = "[-aFgopqsuUw] " CMD_TARGET_PANE_USAGE " option [value]", + .args = { "aFgopqst:Uuw", 1, 2, cmd_set_option_args_parse }, + .usage = "[-aFgopqsUuw] " CMD_TARGET_PANE_USAGE " option [value]", .target = { 't', CMD_FIND_PANE, CMD_FIND_CANFAIL }, Index: cmd-show-environment.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-show-environment.c,v retrieving revision 1.28 diff -u -p -r1.28 cmd-show-environment.c --- cmd-show-environment.c 21 Aug 2021 10:22:39 -0000 1.28 +++ cmd-show-environment.c 11 Nov 2022 17:31:28 -0000 @@ -38,8 +38,8 @@ const struct cmd_entry cmd_show_environm .name = "show-environment", .alias = "showenv", - .args = { "hgst:", 0, 1, NULL }, - .usage = "[-hgs] " CMD_TARGET_SESSION_USAGE " [name]", + .args = { "ghst:", 0, 1, NULL }, + .usage = "[-ghs] " CMD_TARGET_SESSION_USAGE " [name]", .target = { 't', CMD_FIND_SESSION, CMD_FIND_CANFAIL }, Index: cmd-split-window.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-split-window.c,v retrieving revision 1.113 diff -u -p -r1.113 cmd-split-window.c --- cmd-split-window.c 7 Jun 2022 10:02:19 -0000 1.113 +++ cmd-split-window.c 11 Nov 2022 17:31:28 -0000 @@ -40,8 +40,8 @@ const struct cmd_entry cmd_split_window_ .name = "split-window", .alias = "splitw", - .args = { "bc:de:fF:hIl:p:Pt:vZ", 0, -1, NULL }, - .usage = "[-bdefhIPvZ] [-c start-directory] [-e environment] " + .args = { "bc:de:F:fhIl:Pp:t:vZ", 0, -1, NULL }, + .usage = "[-bdfhIPvZ] [-c start-directory] [-e environment] " "[-F format] [-l size] " CMD_TARGET_PANE_USAGE "[shell-command]", Index: cmd-swap-pane.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-swap-pane.c,v retrieving revision 1.41 diff -u -p -r1.41 cmd-swap-pane.c --- cmd-swap-pane.c 30 May 2022 12:54:09 -0000 1.41 +++ cmd-swap-pane.c 11 Nov 2022 17:31:28 -0000 @@ -32,8 +32,8 @@ const struct cmd_entry cmd_swap_pane_ent .name = "swap-pane", .alias = "swapp", - .args = { "dDs:t:UZ", 0, 0, NULL }, - .usage = "[-dDUZ] " CMD_SRCDST_PANE_USAGE, + .args = { "Dds:t:UZ", 0, 0, NULL }, + .usage = "[-DdUZ] " CMD_SRCDST_PANE_USAGE, .source = { 's', CMD_FIND_PANE, CMD_FIND_DEFAULT_MARKED }, .target = { 't', CMD_FIND_PANE, 0 }, Index: cmd-switch-client.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-switch-client.c,v retrieving revision 1.70 diff -u -p -r1.70 cmd-switch-client.c --- cmd-switch-client.c 21 Aug 2021 10:22:39 -0000 1.70 +++ cmd-switch-client.c 11 Nov 2022 17:31:28 -0000 @@ -34,9 +34,9 @@ const struct cmd_entry cmd_switch_client .name = "switch-client", .alias = "switchc", - .args = { "lc:EFnpt:rT:Z", 0, 0, NULL }, - .usage = "[-ElnprZ] [-c target-client] [-t target-session] " - "[-T key-table]", + .args = { "c:EFlnprT:t:Z", 0, 0, NULL }, + .usage = "[-ElnprZ] [-c target-client] [-T key-table] " + "[-t target-session]", /* -t is special */ Index: cmd-wait-for.c =================================================================== RCS file: /cvs/src/usr.bin/tmux/cmd-wait-for.c,v retrieving revision 1.22 diff -u -p -r1.22 cmd-wait-for.c --- cmd-wait-for.c 21 Aug 2021 10:22:39 -0000 1.22 +++ cmd-wait-for.c 11 Nov 2022 17:31:28 -0000 @@ -35,7 +35,7 @@ const struct cmd_entry cmd_wait_for_entr .alias = "wait", .args = { "LSU", 1, 1, NULL }, - .usage = "[-L|-S|-U] channel", + .usage = "[-L | -S | -U] channel", .flags = 0, .exec = cmd_wait_for_exec Index: tmux.1 =================================================================== RCS file: /cvs/src/usr.bin/tmux/tmux.1,v retrieving revision 1.908 diff -u -p -r1.908 tmux.1 --- tmux.1 11 Nov 2022 08:37:55 -0000 1.908 +++ tmux.1 11 Nov 2022 17:31:28 -0000 @@ -1216,11 +1216,11 @@ Lock all clients attached to .Ar target-session . .Tg new .It Xo Ic new-session -.Op Fl AdDEPX +.Op Fl ADdEPX .Op Fl c Ar start-directory .Op Fl e Ar environment -.Op Fl f Ar flags .Op Fl F Ar format +.Op Fl f Ar flags .Op Fl n Ar window-name .Op Fl s Ar session-name .Op Fl t Ar group-name @@ -1591,8 +1591,8 @@ Suspend a client by sending .It Xo Ic switch-client .Op Fl ElnprZ .Op Fl c Ar target-client -.Op Fl t Ar target-session .Op Fl T Ar key-table +.Op Fl t Ar target-session .Xc .D1 Pq alias: Ic switchc Switch the current session for client @@ -2013,7 +2013,7 @@ but a different format may be specified .Fl F . .Tg capturep .It Xo Ic capture-pane -.Op Fl aAepPqCJN +.Op Fl AaCeJNPpq .Op Fl b Ar buffer-name .Op Fl E Ar end-line .Op Fl S Ar start-line @@ -2315,7 +2315,7 @@ With other commands are not blocked from running until the indicator is closed. .Tg findw .It Xo Ic find-window -.Op Fl iCNrTZ +.Op Fl CiNrTZ .Op Fl t Ar target-pane .Ar match-string .Xc @@ -2510,7 +2510,7 @@ Does the same as .Ic join-pane . .Tg movew .It Xo Ic move-window -.Op Fl abrdk +.Op Fl abdkr .Op Fl s Ar src-window .Op Fl t Ar dst-window .Xc @@ -2746,7 +2746,7 @@ trims all lines below the current cursor history to replace them. .Tg resizew .It Xo Ic resize-window -.Op Fl aADLRU +.Op Fl AaDLRU .Op Fl t Ar target-window .Op Fl x Ar width .Op Fl y Ar height @@ -2934,13 +2934,13 @@ the command behaves like .Ic last-window . .Tg splitw .It Xo Ic split-window -.Op Fl bdfhIvPZ +.Op Fl bdfhIPvZ .Op Fl c Ar start-directory .Op Fl e Ar environment +.Op Fl F Ar format .Op Fl l Ar size .Op Fl t Ar target-pane .Op Ar shell-command -.Op Fl F Ar format .Xc .D1 Pq alias: Ic splitw Create a new pane by splitting @@ -2995,7 +2995,7 @@ All other options have the same meaning command. .Tg swapp .It Xo Ic swap-pane -.Op Fl dDUZ +.Op Fl DdUZ .Op Fl s Ar src-pane .Op Fl t Ar dst-pane .Xc @@ -3120,7 +3120,8 @@ Commands related to key bindings are as .Op Fl nr .Op Fl N Ar note .Op Fl T Ar key-table -.Ar key command Op Ar arguments +.Ar key +.Op Ar command Op Ar arguments .Xc .D1 Pq alias: Ic bind Bind key @@ -3177,7 +3178,8 @@ command. .Tg lsk .It Xo Ic list-keys .Op Fl 1aN -.Op Fl P Ar prefix-string Fl T Ar key-table +.Op Fl P Ar prefix-string +.Op Fl T Ar key-table .Op Ar key .Xc .D1 Pq alias: Ic lsk @@ -3360,9 +3362,10 @@ Commands which set options are as follow .Bl -tag -width Ds .Tg set .It Xo Ic set-option -.Op Fl aFgopqsuUw +.Op Fl aFgopqsUuw .Op Fl t Ar target-pane -.Ar option Ar value +.Ar option +.Op Ar value .Xc .D1 Pq alias: Ic set Set a pane option with @@ -4692,7 +4695,7 @@ Hooks are managed with these commands: .Op Fl agpRuw .Op Fl t Ar target-pane .Ar hook-name -.Ar command +.Op Ar command .Xc Without .Fl R , @@ -5549,7 +5552,7 @@ Commands to alter and view the environme .Bl -tag -width Ds .Tg setenv .It Xo Ic set-environment -.Op Fl Fhgru +.Op Fl Fghru .Op Fl t Ar target-session .Ar name Op Ar value .Xc @@ -5575,7 +5578,7 @@ new process. marks the variable as hidden. .Tg showenv .It Xo Ic show-environment -.Op Fl hgs +.Op Fl ghs .Op Fl t Ar target-session .Op Ar variable .Xc @@ -5676,8 +5679,8 @@ for possible values for .Op Fl 1bFikN .Op Fl I Ar inputs .Op Fl p Ar prompts -.Op Fl t Ar target-client .Op Fl T Ar prompt-type +.Op Fl t Ar target-client .Op Ar template .Xc Open the command prompt in a client. @@ -5808,8 +5811,8 @@ until it is dismissed. .It Xo Ic display-menu .Op Fl O .Op Fl c Ar target-client -.Op Fl t Ar target-pane .Op Fl T Ar title +.Op Fl t Ar target-pane .Op Fl x Ar position .Op Fl y Ar position .Ar name @@ -5951,10 +5954,10 @@ forwards any input read from stdin to th .Op Fl d Ar start-directory .Op Fl e Ar environment .Op Fl h Ar height -.Op Fl s Ar style .Op Fl S Ar border-style -.Op Fl t Ar target-pane +.Op Fl s Ar style .Op Fl T Ar title +.Op Fl t Ar target-pane .Op Fl w Ar width .Op Fl x Ar position .Op Fl y Ar position @@ -6092,7 +6095,7 @@ The buffer commands are as follows: .Bl -tag -width Ds .It Xo .Ic choose-buffer -.Op Fl NZr +.Op Fl NrZ .Op Fl F Ar format .Op Fl f Ar filter .Op Fl K Ar key-format @@ -6244,12 +6247,12 @@ Save the contents of the specified paste The .Fl a option appends to rather than overwriting the file. +.Tg setb .It Xo Ic set-buffer .Op Fl aw .Op Fl b Ar buffer-name -.Op Fl t Ar target-client -.Tg setb .Op Fl n Ar new-buffer-name +.Op Fl t Ar target-client .Ar data .Xc .D1 Pq alias: Ic setb