summaryrefslogtreecommitdiffstats
path: root/cmd-list-clients.c
diff options
context:
space:
mode:
authornicm <nicm>2015-12-13 21:53:57 +0000
committernicm <nicm>2015-12-13 21:53:57 +0000
commitecfeee2e8255a77f82a07124c93c8dbc7683c421 (patch)
tree9203458cd986398219f89c635b0583c8144b6cda /cmd-list-clients.c
parent899bee0056b2d90b1c40c800473014b458ebd63d (diff)
Use member names in cmd_entry definitions so I stop getting confused
about the order.
Diffstat (limited to 'cmd-list-clients.c')
-rw-r--r--cmd-list-clients.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/cmd-list-clients.c b/cmd-list-clients.c
index effd8275..8a6fe8a9 100644
--- a/cmd-list-clients.c
+++ b/cmd-list-clients.c
@@ -36,11 +36,14 @@
enum cmd_retval cmd_list_clients_exec(struct cmd *, struct cmd_q *);
const struct cmd_entry cmd_list_clients_entry = {
- "list-clients", "lsc",
- "F:t:", 0, 0,
- "[-F format] " CMD_TARGET_SESSION_USAGE,
- CMD_READONLY|CMD_SESSION_T,
- cmd_list_clients_exec
+ .name = "list-clients",
+ .alias = "lsc",
+
+ .args = { "F:t:", 0, 0 },
+ .usage = "[-F format] " CMD_TARGET_SESSION_USAGE,
+
+ .flags = CMD_READONLY|CMD_SESSION_T,
+ .exec = cmd_list_clients_exec
};
enum cmd_retval