mirror of
https://github.com/tmux/tmux.git
synced 2025-12-23 00:17:20 +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:
@@ -38,7 +38,7 @@ const struct cmd_entry cmd_bind_key_entry = {
|
||||
|
||||
.args = { "nrN:T:", 1, -1, cmd_bind_key_args_parse },
|
||||
.usage = "[-nr] [-T key-table] [-N note] key "
|
||||
"[command [arguments]]",
|
||||
"[command [argument ...]]",
|
||||
|
||||
.flags = CMD_AFTERHOOK,
|
||||
.exec = cmd_bind_key_exec
|
||||
|
||||
Reference in New Issue
Block a user