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-lock-server.c,v 1.31 2021/08/21 10:22:39 nicm Exp $ */
/* $OpenBSD: cmd-lock-server.c,v 1.32 2026/10/09 13:12:14 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -28,6 +28,7 @@ static enum cmd_retval cmd_lock_server_exec(struct cmd *, struct cmdq_item *);
const struct cmd_entry cmd_lock_server_entry = {
.name = "lock-server",
.description = "Lock every client.",
.alias = "lock",
.args = { "", 0, 0, NULL },
@@ -39,6 +40,7 @@ const struct cmd_entry cmd_lock_server_entry = {
const struct cmd_entry cmd_lock_session_entry = {
.name = "lock-session",
.description = "Lock every client attached to a session.",
.alias = "locks",
.args = { "t:", 0, 0, NULL },
@@ -52,6 +54,7 @@ const struct cmd_entry cmd_lock_session_entry = {
const struct cmd_entry cmd_lock_client_entry = {
.name = "lock-client",
.description = "Lock a client.",
.alias = "lockc",
.args = { "t:", 0, 0, NULL },