mirror of
https://github.com/tmux/tmux.git
synced 2025-09-06 00:37:06 +00:00
Fix documentation around optional arguments
This includes: - Syncing between the usage string in code and in the manpage - Adding optional arguments that were simply not mentioned (e.g. shell-command arguments) - Adding square brackets around arguments that are actually optional Co-authored-by: Julian Prein <julian@druck.dev>
This commit is contained in:
@ -35,7 +35,7 @@ const struct cmd_entry cmd_set_buffer_entry = {
|
||||
|
||||
.args = { "ab:t:n:w", 0, 1, NULL },
|
||||
.usage = "[-aw] " CMD_BUFFER_USAGE " [-n new-buffer-name] "
|
||||
CMD_TARGET_CLIENT_USAGE " data",
|
||||
CMD_TARGET_CLIENT_USAGE " [data]",
|
||||
|
||||
.flags = CMD_AFTERHOOK|CMD_CLIENT_TFLAG|CMD_CLIENT_CANFAIL,
|
||||
.exec = cmd_set_buffer_exec
|
||||
|
Reference in New Issue
Block a user