aboutsummaryrefslogtreecommitdiff
path: root/cmd-list-sessions.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-list-sessions.c
parentf4adcfa0e2f4451616738a8c65f9eef2855fc757 (diff)
parentecfeee2e8255a77f82a07124c93c8dbc7683c421 (diff)
downloadrtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.gz
rtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.bz2
rtmux-5caec3020d32596f3ecf3dea68639da18690992d.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-list-sessions.c')
-rw-r--r--cmd-list-sessions.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/cmd-list-sessions.c b/cmd-list-sessions.c
index fed0c2ee..1fde7f86 100644
--- a/cmd-list-sessions.c
+++ b/cmd-list-sessions.c
@@ -39,11 +39,14 @@
enum cmd_retval cmd_list_sessions_exec(struct cmd *, struct cmd_q *);
const struct cmd_entry cmd_list_sessions_entry = {
- "list-sessions", "ls",
- "F:", 0, 0,
- "[-F format]",
- 0,
- cmd_list_sessions_exec
+ .name = "list-sessions",
+ .alias = "ls",
+
+ .args = { "F:", 0, 0 },
+ .usage = "[-F format]",
+
+ .flags = 0,
+ .exec = cmd_list_sessions_exec
};
enum cmd_retval