diff options
author | Thomas Adam <thomas@xteddy.org> | 2019-06-05 23:02:26 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2019-06-05 23:02:26 +0100 |
commit | c91680822df84f6db2f8ce650e457d59d37f3856 (patch) | |
tree | c2ff1cb796bbaeecc26544beeb1666fdb39ecae5 /cmd-source-file.c | |
parent | 37bb993f539012a65ea44e0e35f8cf88f27dfe19 (diff) | |
parent | 8f40796f05f2db0ff8b2c9231054b62b511a7ba0 (diff) | |
download | rtmux-c91680822df84f6db2f8ce650e457d59d37f3856.tar.gz rtmux-c91680822df84f6db2f8ce650e457d59d37f3856.tar.bz2 rtmux-c91680822df84f6db2f8ce650e457d59d37f3856.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-source-file.c')
-rw-r--r-- | cmd-source-file.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cmd-source-file.c b/cmd-source-file.c index 38aede0c..2e01ae67 100644 --- a/cmd-source-file.c +++ b/cmd-source-file.c @@ -37,8 +37,8 @@ const struct cmd_entry cmd_source_file_entry = { .name = "source-file", .alias = "source", - .args = { "nq", 1, -1 }, - .usage = "[-nq] path ...", + .args = { "nqv", 1, -1 }, + .usage = "[-nqv] path ...", .flags = 0, .exec = cmd_source_file_exec @@ -62,6 +62,8 @@ cmd_source_file_exec(struct cmd *self, struct cmdq_item *item) flags |= CMD_PARSE_QUIET; if (args_has(args, 'n')) flags |= CMD_PARSE_PARSEONLY; + if (args_has(args, 'v')) + flags |= CMD_PARSE_VERBOSE; utf8_stravis(&cwd, server_client_get_cwd(c, NULL), VIS_GLOB); retval = CMD_RETURN_NORMAL; |