mirror of
https://github.com/tmux/tmux.git
synced 2025-12-23 16:56: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:
@@ -43,7 +43,7 @@ const struct cmd_entry cmd_new_session_entry = {
|
||||
.usage = "[-AdDEPX] [-c start-directory] [-e environment] [-F format] "
|
||||
"[-f flags] [-n window-name] [-s session-name] "
|
||||
CMD_TARGET_SESSION_USAGE " [-x width] [-y height] "
|
||||
"[shell-command]",
|
||||
"[shell-command [argument ...]]",
|
||||
|
||||
.target = { 't', CMD_FIND_SESSION, CMD_FIND_CANFAIL },
|
||||
|
||||
|
||||
Reference in New Issue
Block a user