mirror of
https://github.com/tmux/tmux.git
synced 2026-10-10 12:14:43 +00:00
Add a one line description text to each command, originally from someone
in GitHub issue 5438.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: cmd-select-window.c,v 1.30 2021/08/21 10:22:39 nicm Exp $ */
|
||||
/* $OpenBSD: cmd-select-window.c,v 1.31 2026/10/09 13:12:14 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||
@@ -31,6 +31,7 @@ static enum cmd_retval cmd_select_window_exec(struct cmd *,
|
||||
|
||||
const struct cmd_entry cmd_select_window_entry = {
|
||||
.name = "select-window",
|
||||
.description = "Select a window.",
|
||||
.alias = "selectw",
|
||||
|
||||
.args = { "lnpTt:", 0, 0, NULL },
|
||||
@@ -44,6 +45,7 @@ const struct cmd_entry cmd_select_window_entry = {
|
||||
|
||||
const struct cmd_entry cmd_next_window_entry = {
|
||||
.name = "next-window",
|
||||
.description = "Select the next window.",
|
||||
.alias = "next",
|
||||
|
||||
.args = { "at:", 0, 0, NULL },
|
||||
@@ -57,6 +59,7 @@ const struct cmd_entry cmd_next_window_entry = {
|
||||
|
||||
const struct cmd_entry cmd_previous_window_entry = {
|
||||
.name = "previous-window",
|
||||
.description = "Select the previous window.",
|
||||
.alias = "prev",
|
||||
|
||||
.args = { "at:", 0, 0, NULL },
|
||||
@@ -70,6 +73,7 @@ const struct cmd_entry cmd_previous_window_entry = {
|
||||
|
||||
const struct cmd_entry cmd_last_window_entry = {
|
||||
.name = "last-window",
|
||||
.description = "Select the previously active window.",
|
||||
.alias = "last",
|
||||
|
||||
.args = { "t:", 0, 0, NULL },
|
||||
|
||||
Reference in New Issue
Block a user