cmd: use term formatting codes for command help text

This commit is contained in:
2024-11-14 22:03:39 +00:00
parent b2c9c7cab9
commit 64a246e6f7
4 changed files with 38 additions and 24 deletions

View File

@@ -118,7 +118,7 @@ void z__b_get_option_description(struct b_command_option *opt, b_string *out)
if (it.i > 0) {
b_string_append_cstr(out, "; ");
} else {
b_string_append_cstr(out, " [");
b_string_append_cstr(out, " [[");
close_bracket = true;
}