version 1.40, 2019/05/28 12:20:28 |
version 1.41, 2019/06/05 20:00:53 |
|
|
.name = "source-file", |
.name = "source-file", |
.alias = "source", |
.alias = "source", |
|
|
.args = { "nq", 1, -1 }, |
.args = { "nqv", 1, -1 }, |
.usage = "[-nq] path ...", |
.usage = "[-nqv] path ...", |
|
|
.flags = 0, |
.flags = 0, |
.exec = cmd_source_file_exec |
.exec = cmd_source_file_exec |
|
|
flags |= CMD_PARSE_QUIET; |
flags |= CMD_PARSE_QUIET; |
if (args_has(args, 'n')) |
if (args_has(args, 'n')) |
flags |= CMD_PARSE_PARSEONLY; |
flags |= CMD_PARSE_PARSEONLY; |
|
if (args_has(args, 'v')) |
|
flags |= CMD_PARSE_VERBOSE; |
utf8_stravis(&cwd, server_client_get_cwd(c, NULL), VIS_GLOB); |
utf8_stravis(&cwd, server_client_get_cwd(c, NULL), VIS_GLOB); |
|
|
retval = CMD_RETURN_NORMAL; |
retval = CMD_RETURN_NORMAL; |