mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 19:39:04 +00:00
Add -a properly.
This commit is contained in:
parent
2cbd21ea44
commit
7dab6f3e96
@ -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>
|
||||
@ -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)
|
||||
return (0);
|
||||
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)
|
||||
off += xsnprintf(buf + off, len - off, "d");
|
||||
if (off < len && flags & CMD_GFLAG)
|
||||
|
Loading…
Reference in New Issue
Block a user