Remove format_create_flags and just pass flags to format_create.

This commit is contained in:
nicm
2015-12-08 08:34:18 +00:00
parent 8f671d3eef
commit e0f26dcda3
22 changed files with 28 additions and 36 deletions

View File

@@ -93,7 +93,7 @@ cmd_attach_session(struct cmd_q *cmdq, const char *tflag, int dflag, int rflag,
}
if (cflag != NULL) {
ft = format_create();
ft = format_create(0);
format_defaults(ft, cmd_find_client(cmdq, NULL, 1), s,
NULL, NULL);
cwd = format_expand(ft, cflag);