mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +00:00 
			
		
		
		
	Add -a properly.
This commit is contained in:
		| @@ -1,4 +1,4 @@ | |||||||
| /* $Id: cmd-generic.c,v 1.22 2009-01-18 14:40:48 nicm Exp $ */ | /* $Id: cmd-generic.c,v 1.23 2009-01-23 20:20:23 nicm Exp $ */ | ||||||
|  |  | ||||||
| /* | /* | ||||||
|  * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> |  * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> | ||||||
| @@ -83,6 +83,8 @@ cmd_print_flags(char *buf, size_t len, size_t off, int flags) | |||||||
| 	if ((flags & (CMD_DFLAG|CMD_GFLAG|CMD_KFLAG|CMD_UFLAG)) == 0) | 	if ((flags & (CMD_DFLAG|CMD_GFLAG|CMD_KFLAG|CMD_UFLAG)) == 0) | ||||||
| 		return (0); | 		return (0); | ||||||
| 	off += xsnprintf(buf + off, len - off, " -"); | 	off += xsnprintf(buf + off, len - off, " -"); | ||||||
|  | 	if (off < len && flags & CMD_AFLAG) | ||||||
|  | 		off += xsnprintf(buf + off, len - off, "a"); | ||||||
| 	if (off < len && flags & CMD_DFLAG) | 	if (off < len && flags & CMD_DFLAG) | ||||||
| 		off += xsnprintf(buf + off, len - off, "d"); | 		off += xsnprintf(buf + off, len - off, "d"); | ||||||
| 	if (off < len && flags & CMD_GFLAG) | 	if (off < len && flags & CMD_GFLAG) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Nicholas Marriott
					Nicholas Marriott