diff options
author | nicm <nicm> | 2015-12-14 00:31:54 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-12-14 00:31:54 +0000 |
commit | a3129fd4e820d7ccb3797fed491e7c021b63c568 (patch) | |
tree | 2670410ce357adf7dee1ace4f33d88f034b2ec12 /cmd-show-environment.c | |
parent | ecfeee2e8255a77f82a07124c93c8dbc7683c421 (diff) | |
download | rtmux-a3129fd4e820d7ccb3797fed491e7c021b63c568.tar.gz rtmux-a3129fd4e820d7ccb3797fed491e7c021b63c568.tar.bz2 rtmux-a3129fd4e820d7ccb3797fed491e7c021b63c568.zip |
Instead of combined flags for -c, -s, -t, split into different sets
using an enum and simplify the parsing code.
Diffstat (limited to 'cmd-show-environment.c')
-rw-r--r-- | cmd-show-environment.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd-show-environment.c b/cmd-show-environment.c index 398a1e50..ad9e9e37 100644 --- a/cmd-show-environment.c +++ b/cmd-show-environment.c @@ -40,7 +40,9 @@ const struct cmd_entry cmd_show_environment_entry = { .args = { "gst:", 0, 1 }, .usage = "[-gs] " CMD_TARGET_SESSION_USAGE " [name]", - .flags = CMD_SESSION_T|CMD_CANFAIL, + .tflag = CMD_SESSION_CANFAIL, + + .flags = 0, .exec = cmd_show_environment_exec }; |