mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	argc will be 1 not 2 with no option value.
This commit is contained in:
		@@ -115,7 +115,7 @@ cmd_set_option_exec(struct cmd *self, struct cmd_ctx *ctx)
 | 
			
		||||
		ctx->error(ctx, "invalid option");
 | 
			
		||||
		return (-1);
 | 
			
		||||
	}
 | 
			
		||||
	if (args->argc < 1)
 | 
			
		||||
	if (args->argc < 2)
 | 
			
		||||
		valstr = NULL;
 | 
			
		||||
	else
 | 
			
		||||
		valstr = args->argv[1];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user