=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-source-file.c,v retrieving revision 1.37 retrieving revision 1.38 diff -c -r1.37 -r1.38 *** src/usr.bin/tmux/cmd-source-file.c 2019/05/20 13:23:32 1.37 --- src/usr.bin/tmux/cmd-source-file.c 2019/05/23 11:13:30 1.38 *************** *** 1,4 **** ! /* $OpenBSD: cmd-source-file.c,v 1.37 2019/05/20 13:23:32 nicm Exp $ */ /* * Copyright (c) 2008 Tiago Cunha --- 1,4 ---- ! /* $OpenBSD: cmd-source-file.c,v 1.38 2019/05/23 11:13:30 nicm Exp $ */ /* * Copyright (c) 2008 Tiago Cunha *************** *** 38,45 **** .name = "source-file", .alias = "source", ! .args = { "q", 1, 1 }, ! .usage = "[-q] path", .flags = 0, .exec = cmd_source_file_exec --- 38,45 ---- .name = "source-file", .alias = "source", ! .args = { "nq", 1, 1 }, ! .usage = "[-nq] path", .flags = 0, .exec = cmd_source_file_exec *************** *** 59,65 **** u_int i; if (args_has(args, 'q')) ! flags |= CFG_QUIET; if (*path == '/') pattern = xstrdup(path); --- 59,67 ---- u_int i; if (args_has(args, 'q')) ! flags |= CMD_PARSE_QUIET; ! if (args_has(args, 'n')) ! flags |= CMD_PARSE_PARSEONLY; if (*path == '/') pattern = xstrdup(path); *************** *** 72,78 **** retval = CMD_RETURN_NORMAL; if (glob(pattern, 0, NULL, &g) != 0) { ! if (errno != ENOENT || (~flags & CFG_QUIET)) { cmdq_error(item, "%s: %s", path, strerror(errno)); retval = CMD_RETURN_ERROR; } --- 74,80 ---- retval = CMD_RETURN_NORMAL; if (glob(pattern, 0, NULL, &g) != 0) { ! if (errno != ENOENT || (~flags & CMD_PARSE_QUIET)) { cmdq_error(item, "%s: %s", path, strerror(errno)); retval = CMD_RETURN_ERROR; }