diff options
author | Thomas Adam <thomas@xteddy.org> | 2015-12-13 23:46:58 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2015-12-13 23:46:58 +0000 |
commit | 5caec3020d32596f3ecf3dea68639da18690992d (patch) | |
tree | da0cde36d73215aa603d1897279aa9431f403d06 /cmd-show-environment.c | |
parent | f4adcfa0e2f4451616738a8c65f9eef2855fc757 (diff) | |
parent | ecfeee2e8255a77f82a07124c93c8dbc7683c421 (diff) | |
download | rtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.gz rtmux-5caec3020d32596f3ecf3dea68639da18690992d.tar.bz2 rtmux-5caec3020d32596f3ecf3dea68639da18690992d.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-show-environment.c')
-rw-r--r-- | cmd-show-environment.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/cmd-show-environment.c b/cmd-show-environment.c index 723d3039..398a1e50 100644 --- a/cmd-show-environment.c +++ b/cmd-show-environment.c @@ -34,11 +34,14 @@ void cmd_show_environment_print(struct cmd *, struct cmd_q *, struct environ_entry *); const struct cmd_entry cmd_show_environment_entry = { - "show-environment", "showenv", - "gst:", 0, 1, - "[-gs] " CMD_TARGET_SESSION_USAGE " [name]", - CMD_SESSION_T|CMD_CANFAIL, - cmd_show_environment_exec + .name = "show-environment", + .alias = "showenv", + + .args = { "gst:", 0, 1 }, + .usage = "[-gs] " CMD_TARGET_SESSION_USAGE " [name]", + + .flags = CMD_SESSION_T|CMD_CANFAIL, + .exec = cmd_show_environment_exec }; char * |