aboutsummaryrefslogtreecommitdiff
path: root/cmd-source-file.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2015-12-13 23:46:58 +0000
committerThomas Adam <thomas@xteddy.org>2015-12-13 23:46:58 +0000
commit5caec3020d32596f3ecf3dea68639da18690992d (patch)
treeda0cde36d73215aa603d1897279aa9431f403d06 /cmd-source-file.c
parentf4adcfa0e2f4451616738a8c65f9eef2855fc757 (diff)
parentecfeee2e8255a77f82a07124c93c8dbc7683c421 (diff)
downloadrtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.gz
rtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.bz2
rtmux-5caec3020d32596f3ecf3dea68639da18690992d.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-source-file.c')
-rw-r--r--cmd-source-file.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/cmd-source-file.c b/cmd-source-file.c
index e776712c..9d2d6d68 100644
--- a/cmd-source-file.c
+++ b/cmd-source-file.c
@@ -31,11 +31,14 @@ enum cmd_retval cmd_source_file_exec(struct cmd *, struct cmd_q *);
void cmd_source_file_done(struct cmd_q *);
const struct cmd_entry cmd_source_file_entry = {
- "source-file", "source",
- "", 1, 1,
- "path",
- 0,
- cmd_source_file_exec
+ .name = "source-file",
+ .alias = "source",
+
+ .args = { "", 1, 1 },
+ .usage = "path",
+
+ .flags = 0,
+ .exec = cmd_source_file_exec
};
enum cmd_retval