mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Fix documentation around optional arguments. This includes:
- Syncing between the usage string in code and in the man page. - Adding optional arguments that were not mentioned (such as shell-command arguments). - Adding square brackets around arguments that are actually optional. From Julian Prein (julian at druck dot dev) in GitHub issue 4419.
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