summaryrefslogtreecommitdiffstats
path: root/cmd-show-options.c
diff options
context:
space:
mode:
authornicm <nicm>2017-01-30 21:41:17 +0000
committernicm <nicm>2017-01-30 21:41:17 +0000
commit3408595f77920764bf6c4c313a0abc6a1cfb8048 (patch)
tree1e2c21925847bd18641b589ea4028c78187a0212 /cmd-show-options.c
parentb6099f31ead647749574c36b34619db940587fc7 (diff)
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.c2
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)) {