diff options
author | nicm <nicm> | 2017-01-30 21:41:17 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-01-30 21:41:17 +0000 |
commit | 3408595f77920764bf6c4c313a0abc6a1cfb8048 (patch) | |
tree | 1e2c21925847bd18641b589ea4028c78187a0212 /cmd-show-options.c | |
parent | b6099f31ead647749574c36b34619db940587fc7 (diff) | |
download | rtmux-3408595f77920764bf6c4c313a0abc6a1cfb8048.tar.gz rtmux-3408595f77920764bf6c4c313a0abc6a1cfb8048.tar.bz2 rtmux-3408595f77920764bf6c4c313a0abc6a1cfb8048.zip |
When a flag option is used in a format, it should use the number form
not string.
Diffstat (limited to 'cmd-show-options.c')
-rw-r--r-- | cmd-show-options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-show-options.c b/cmd-show-options.c index b9882243..0ce438df 100644 --- a/cmd-show-options.c +++ b/cmd-show-options.c @@ -110,7 +110,7 @@ cmd_show_options_print(struct cmd *self, struct cmdq_item *item, name = options_name(o); } - value = options_tostring(o, idx); + value = options_tostring(o, idx, 0); if (args_has(self->args, 'v')) cmdq_print(item, "%s", value); else if (options_isstring(o)) { |