Add a one line description text to each command, originally from someone

in GitHub issue 5438.
This commit is contained in:
nicm
2026-10-09 13:12:14 +00:00
committed by tmux update bot
parent c9c6a8f2ba
commit f510adb754
64 changed files with 222 additions and 82 deletions

View File

@@ -1,4 +1,4 @@
/* $OpenBSD: cmd-set-option.c,v 1.146 2026/07/10 15:20:06 nicm Exp $ */
/* $OpenBSD: cmd-set-option.c,v 1.147 2026/10/09 13:12:14 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -38,6 +38,7 @@ static enum cmd_retval cmd_set_hook_monitor_exec(struct cmdq_item *,
const struct cmd_entry cmd_set_option_entry = {
.name = "set-option",
.description = "Set a server, session, or pane option.",
.alias = "set",
.args = { "aFgopqst:uUw", 1, 2, cmd_set_option_args_parse },
@@ -51,6 +52,7 @@ const struct cmd_entry cmd_set_option_entry = {
const struct cmd_entry cmd_set_window_option_entry = {
.name = "set-window-option",
.description = "Set a window option.",
.alias = "setw",
.args = { "aFgoqt:u", 1, 2, cmd_set_option_args_parse },
@@ -64,6 +66,7 @@ const struct cmd_entry cmd_set_window_option_entry = {
const struct cmd_entry cmd_set_hook_entry = {
.name = "set-hook",
.description = "Set or remove a hook.",
.alias = NULL,
.args = { "agpERTt:uB:w", 0, 2, cmd_set_option_args_parse },